@Entity public class FeatureState extends VersionableEntity
state
are reusable they may represent multiple states in e.g. a given feature tree.
By handling them as a pair with feature it is expected to be explicit within a certain
feature tree branch and therefore can be used to define values like TermNode.getInapplicableIf()
or TermNode.getOnlyApplicableIf()
.CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
FeatureState()
Deprecated.
|
protected |
FeatureState(Feature feature,
State state) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this versionable entity.
|
Feature |
getFeature() |
State |
getState() |
static FeatureState |
NewInstance() |
static FeatureState |
NewInstance(Feature feature,
State state) |
void |
setFeature(Feature feature) |
void |
setState(State state) |
java.lang.String |
toString()
Overrides
Object.toString() . |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
public static FeatureState NewInstance()
public static FeatureState NewInstance(Feature feature, State state)
public Feature getFeature()
public void setFeature(Feature feature)
public State getState()
public void setState(State state)
public java.lang.String toString()
CdmBase
Object.toString()
.
This returns an String that identifies the object well without being necessarily unique. Internally the method is delegating the
call to {link CdmBase.instanceToString()
.Note: If overriding this method's javadoc always copy or link the above requirement. If not overwritten by a subclass method returns the class, id and uuid as a string for any CDM object.
For example: Taxon#13<b5938a98-c1de-4dda-b040-d5cc5bfb3bc0>
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.