@Entity public class Extension extends VersionableEntity implements java.lang.Cloneable
CLOB_LENGTH, uuid
Constructor and Description |
---|
Extension() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this versionable entity.
|
ExtensionType |
getType() |
java.lang.String |
getValue() |
static Extension |
NewInstance() |
static Extension |
NewInstance(IdentifiableEntity<?> extendedObject,
java.lang.String value,
ExtensionType extensionType)
Creates a new extension and adds it to the extended object.
|
void |
setType(ExtensionType type) |
void |
setValue(java.lang.String value) |
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 Extension NewInstance()
public static Extension NewInstance(IdentifiableEntity<?> extendedObject, java.lang.String value, ExtensionType extensionType)
extendedObject
- value
- extensionType
- public ExtensionType getType()
public void setType(ExtensionType type)
public java.lang.String getValue()
public void setValue(java.lang.String value)
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.