@Entity public class HybridRelationshipType extends RelationshipTermBase<HybridRelationshipType>
hybrid relationships
between a botanical taxon name
used as a parent of a hybrid taxon
name and the hybrid taxon name itself. Hybrids and their parents are always
plants. The relationships are to be understood as 'is .... of'.
A standard (ordered) list of hybrid relationship type instances will be automatically created as the project starts. But this class allows to extend this standard list by creating new instances of additional hybrid relationship types if needed. Hybrid relationship types are neither symmetric nor transitive.
This class corresponds partially to:
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.util.UUID,HybridRelationshipType> |
termMap |
orderIndex
partOf, vocabulary
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
annotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
HybridRelationshipType()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HybridRelationshipType otherRelationshipType)
Compares this OrderedTermBase with the specified OrderedTermBase for
order.
|
static HybridRelationshipType |
FEMALE_PARENT()
Returns the "female parent" hybrid relationship type.
|
static HybridRelationshipType |
FIRST_PARENT()
Returns the "first parent" hybrid relationship type.
|
static HybridRelationshipType |
FOURTH_PARENT()
Returns the "fourth parent" hybrid relationship type.
|
protected static HybridRelationshipType |
getTermByUuid(java.util.UUID uuid) |
static HybridRelationshipType |
MAJOR_PARENT()
Returns the "major parent" hybrid relationship type.
|
static HybridRelationshipType |
MALE_PARENT()
Returns the "male parent" hybrid relationship type.
|
static HybridRelationshipType |
MINOR_PARENT()
Returns the "minor parent" hybrid relationship type.
|
static HybridRelationshipType |
NewInstance(java.lang.String term,
java.lang.String label,
java.lang.String labelAbbrev) |
void |
resetTerms() |
static HybridRelationshipType |
SECOND_PARENT()
Returns the "second parent" hybrid relationship type.
|
protected void |
setDefaultTerms(TermVocabulary<HybridRelationshipType> termVocabulary) |
static HybridRelationshipType |
THIRD_PARENT()
Returns the "third parent" hybrid relationship type.
|
addInverseRepresentation, addRepresentation, clone, getInverseDescription, getInverseDescription, getInverseLabel, getInverseLabel, getInverseRepresentation, getInverseRepresentations, getInverseSymbol, getPreferredInverseRepresentation, isSymmetric, isTransitive, readCsvLine, removeInverseRepresentation, setInverseSymbol, setSymmetric, setTransitive, writeCsvLine
decreaseIndex, getNextHigherTerm, getNextLowerTerm, getOrderIndex, incrementIndex, isHigher, isLower, performCompareTo
addGeneralizationOf, addIncludes, addMedia, getByUuid, getCacher, getGeneralizationOf, getGeneralizationOf, getIdInVocabulary, getIncludes, getKindOf, getMedia, getPartOf, getSymbol, getSymbol2, getTermByClassAndUUID, getVocabulary, isKindOf, partOfCsvLineIndex, readCsvLine, readIsPartOf, removeGeneralization, removeIncludes, removeMedia, setCacher, setGeneralizationOf, setIdInVocabulary, setIncludes, setKindOf, setPartOf, setSymbol, setSymbol2, setVocabulary
addRepresentation, getDescription, getDescription, getLabel, getLabel, getPreferredRepresentation, getPreferredRepresentation, getRepresentation, getRepresentations, getTermType, getUri, removeRepresentation, setLabel, setLabel, setTermType, setUri, toString
addCredit, addCredit, addExtension, addExtension, addIdentifier, addIdentifier, addIdentifier, addRights, addSource, addSources, createNewSource, generateTitle, getCacheStrategy, getCredits, getCredits, getData, getExtensions, getExtensions, getExtensions, getExtensionsConcat, getExtensionsConcat, getFilteredExtensions, getIdentifiers, getIdentifiers, getIdentifiers, getLsid, getRights, getTitleCache, getTruncatedCache, hasEmptyTitleCache, hasExtension, hasExtension, initListener, isProtectedTitleCache, removeCredit, removeCredit, removeExtension, removeIdentifier, removeIdentifier, removeRights, replaceCredit, replaceIdentifier, resetTitleCache, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, updateCaches, updateCaches
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource, removeSources
addAnnotation, addMarker, addMarker, getAnnotations, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker, setAnnotations
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid
finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid
checkTermTypeEqualOrDescendant, checkTermTypeNull, checkTermTypes
removeSources
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource
addAnnotation, addMarker, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
protected static java.util.Map<java.util.UUID,HybridRelationshipType> termMap
@Deprecated protected HybridRelationshipType()
public static HybridRelationshipType NewInstance(java.lang.String term, java.lang.String label, java.lang.String labelAbbrev)
public void resetTerms()
resetTerms
in class DefinedTermBase<HybridRelationshipType>
protected static HybridRelationshipType getTermByUuid(java.util.UUID uuid)
public static final HybridRelationshipType FIRST_PARENT()
non-viral taxon name
used as "first parent" affect the
taxon name string of the hybrid (see Appendix I of the ICBN).public static final HybridRelationshipType SECOND_PARENT()
non-viral taxon name
used as "second parent" affect the
taxon name string of the hybrid (see Appendix I of the ICBN).FIRST_PARENT()
,
MALE_PARENT()
,
MINOR_PARENT()
public static final HybridRelationshipType THIRD_PARENT()
non viral taxon name
used as "third parent" affect the
taxon name string of the hybrid (see Appendix I of the ICBN).FIRST_PARENT()
public static final HybridRelationshipType FOURTH_PARENT()
non viral taxon name
used as "third parent" affect the
taxon name string of the hybrid (see Appendix I of the ICBN).FIRST_PARENT()
public static final HybridRelationshipType FEMALE_PARENT()
non-viral taxon name
)MALE_PARENT()
,
FIRST_PARENT()
public static final HybridRelationshipType MALE_PARENT()
non-viral taxon name
).MALE_PARENT()
,
SECOND_PARENT()
public static final HybridRelationshipType MAJOR_PARENT()
FIRST_PARENT()
,
MINOR_PARENT()
public static final HybridRelationshipType MINOR_PARENT()
SECOND_PARENT()
public int compareTo(HybridRelationshipType otherRelationshipType)
OrderedTermBase
null
the
Note: The compare logic of this method might appear to be inverse
to the one mentioned in
Comparable.compareTo(java.lang.Object)
. This is, because the logic here
is that the lower the orderIndex the higher the term. E.g. the very high Rank
Kingdom may have an orderIndex close to 1.
compareTo
in interface java.lang.Comparable<HybridRelationshipType>
compareTo
in class OrderedTermBase<HybridRelationshipType>
otherRelationshipType
- the OrderedTermBase to be comparedprotected void setDefaultTerms(TermVocabulary<HybridRelationshipType> termVocabulary)
setDefaultTerms
in class DefinedTermBase<HybridRelationshipType>
Copyright © 2007-2020 EDIT. All Rights Reserved.