@Entity public abstract class TermRelationBase<TERM extends DefinedTermBase,REL extends TermRelationBase,GRAPH extends TermGraphBase> extends VersionableEntity implements IHasTermType
TermNode
and TermRelation
.CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
TermRelationBase() |
protected |
TermRelationBase(TermType termType) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkTermType(IHasTermType term)
Throws
IllegalArgumentException if the given
term has not the same term type as this term or if term type is null. |
java.lang.Object |
clone()
Clones this versionable entity.
|
GRAPH |
getGraph() |
TERM |
getTerm()
Returns the
term this term tree node is based on. |
TermType |
getTermType() |
protected void |
setGraph(GRAPH graph) |
void |
setTerm(TERM term) |
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, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
checkTermTypeEqualOrDescendant, checkTermTypeNull, checkTermTypes
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
protected TermRelationBase()
protected TermRelationBase(TermType termType)
public TermType getTermType()
getTermType
in interface IHasTermType
public void setTerm(TERM term)
public GRAPH getGraph()
protected void setGraph(GRAPH graph)
protected void checkTermType(IHasTermType term)
IllegalArgumentException
if the given
term has not the same term type as this term or if term type is null.term
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException
VersionableEntity
clone
in class VersionableEntity
java.lang.CloneNotSupportedException
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.