T
- @Entity public class TermGraph<T extends DefinedTermBase> extends TermGraphBase<T,TermRelation<T>>
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
annotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
TermGraph()
Deprecated.
|
protected |
TermGraph(TermType termType)
Class constructor: creates a new feature tree instance with an empty
root node . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this
TermGraph . |
java.util.Set<T> |
getDistinctTerms()
Computes a set of distinct terms that are present in this term tree
|
static <T extends DefinedTermBase<T>> |
NewInstance(TermType termType)
Creates a new term collection instance for the given term type
with an empty
root node . |
static <T extends DefinedTermBase<T>> |
NewInstance(TermType termType,
java.util.UUID uuid)
Creates a new TermGraph instance with a given uuid.
|
getTermRelations, setTermRelations
isAllowDuplicates, isFlat, isOrderRelevant, setAllowDuplicates, setFlat, setOrderRelevant, termRelations, termRelations
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
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
@Deprecated protected TermGraph()
protected TermGraph(TermType termType)
root node
.public static <T extends DefinedTermBase<T>> TermGraph<T> NewInstance(@NotNull TermType termType)
root node
.termType
- the term type
, must not be nullpublic static <T extends DefinedTermBase<T>> TermGraph<T> NewInstance(@NotNull TermType termType, java.util.UUID uuid)
termType
- uuid
- public java.util.Set<T> getDistinctTerms()
getDistinctTerms
in class TermGraphBase<T extends DefinedTermBase,TermRelation<T extends DefinedTermBase>>
public java.lang.Object clone()
TermGraph
. This is a shortcut that enables to create
a new instance that differs only slightly from this graph by
modifying only some of the attributes.
Term relations
always belong only to one tree, so all
Term relations
are cloned to build
the new TermGraph
clone
in class TermGraphBase<T extends DefinedTermBase,TermRelation<T extends DefinedTermBase>>
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.