| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | citationKey
Record Component accessed by citationKey(). the citation key (duplicated from BibEntry to ease processing by the client) |
| public static final Logger | |
| private final SharedBibEntryData | sharingMetadata
Record Component accessed by sharingMetadata(). the data used for sharing |
| private final String | userComments
Record Component accessed by userComments(). the comments before the BibTeX entry |
| Access | Constructor and Description |
|---|---|
| public | BibEntryDTO(BibEntry bibEntry, BibDatabaseMode bibDatabaseMode, FieldPreferences fieldWriterPreferences, BibEntryTypesManager bibEntryTypesManager)
|
| public | BibEntryDTO(SharedBibEntryData sharingMetadata, String userComments, String citationKey, String bibtex)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | citationKey()
Record Component getter of citationKey.
Record Component the citation key (duplicated from BibEntry to ease processing by the client) |
| public int | compareTo(BibEntryDTO
the object to be compared. o)Implements java. Compares this object with the specified object for order. |
| private static String | convertToString(BibEntry entry, BibDatabaseMode bibDatabaseMode, FieldPreferences fieldWriterPreferences, BibEntryTypesManager bibEntryTypesManager)
|
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public SharedBibEntryData | sharingMetadata()
Record Component getter of sharingMetadata.
Record Component the data used for sharing |
| public String | toString()
Implements abstract java. Returns a string representation of the record. |
| public String | userComments()
Record Component getter of userComments.
Record Component the comments before the BibTeX entry |
| bibtex | back to summary |
|---|---|
| private final String bibtex Record Component accessed by bibtex(). the BibEntry as BibTeX string (see ADR-0027 for more information, why we don't use a HashMap / JSON) | |
| citationKey | back to summary |
|---|---|
| private final String citationKey Record Component accessed by citationKey(). the citation key (duplicated from BibEntry to ease processing by the client) | |
| LOGGER | back to summary |
|---|---|
| public static final Logger LOGGER | |
| sharingMetadata | back to summary |
|---|---|
| private final SharedBibEntryData sharingMetadata Record Component accessed by sharingMetadata(). the data used for sharing | |
| userComments | back to summary |
|---|---|
| private final String userComments Record Component accessed by userComments(). the comments before the BibTeX entry | |
| BibEntryDTO | back to summary |
|---|---|
| public BibEntryDTO(BibEntry bibEntry, BibDatabaseMode bibDatabaseMode, FieldPreferences fieldWriterPreferences, BibEntryTypesManager bibEntryTypesManager) | |
| BibEntryDTO | back to summary |
|---|---|
| public BibEntryDTO(SharedBibEntryData sharingMetadata, String userComments, String citationKey, String bibtex) | |
| bibtex | back to summary |
|---|---|
| public String bibtex() Record Component getter of bibtex.
| |
| citationKey | back to summary |
|---|---|
| public String citationKey() Record Component getter of citationKey.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(BibEntryDTO o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| convertToString | back to summary |
|---|---|
| private static String convertToString(BibEntry entry, BibDatabaseMode bibDatabaseMode, FieldPreferences fieldWriterPreferences, BibEntryTypesManager bibEntryTypesManager) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| sharingMetadata | back to summary |
|---|---|
| public SharedBibEntryData sharingMetadata() Record Component getter of sharingMetadata.
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| userComments | back to summary |
|---|---|
| public String userComments() Record Component getter of userComments.
| |