EntityWrapper

public abstract class EntityWrapper implements EntityInterface

Fields

entity

protected EntityInterface entity

Constructors

EntityWrapper

public EntityWrapper(EntityInterface entity)

Methods

acceptObserver

public boolean acceptObserver(Observer o)

addError

public void addError(Message m)

addInfo

public void addInfo(String description)

addInfo

public void addInfo(Message m)

addMessage

public void addMessage(ToElementable m)

addParent

public void addParent(Parent parent)

addProperty

public void addProperty(Property property)

addProperty

public void addProperty(List<Property> properties)

addToElement

public void addToElement(Element element)

addToElement

public void addToElement(Element element, SerializeFieldStrategy strategy)

addTransactionLog

public void addTransactionLog(TransactionLogMessage transactionLogMessage)

addWarning

public void addWarning(Message m)

checkPermission

public void checkPermission(Subject subject, Permission permission)

checkPermission

public void checkPermission(Permission permission)

equals

public boolean equals(Object obj)

getCuid

public String getCuid()

getDatatype

public AbstractDatatype getDatatype()

getDescription

public String getDescription()

getDomain

public EntityID getDomain()

getEntityACL

public EntityACL getEntityACL()

getEntityStatus

public EntityStatus getEntityStatus()

getFileProperties

public FileProperties getFileProperties()

getFlag

public String getFlag(String key)

getFlags

public Map<String, String> getFlags()

getId

public EntityID getId()

getIdVersion

public String getIdVersion()

getMessages

public Set<ToElementable> getMessages()

getMessages

public List<Message> getMessages(String type)

getName

public String getName()

getParents

public ParentContainer getParents()

getProperties

public PropertyContainer getProperties()

getQueryTemplateDefinition

public String getQueryTemplateDefinition()

getRole

public Role getRole()

getSelections

public List<Selection> getSelections()

getSerializeFieldStrategy

public SerializeFieldStrategy getSerializeFieldStrategy()

getSparseEntity

public SparseEntity getSparseEntity()

getStatementStatus

public StatementStatusInterface getStatementStatus()

getToElementStrategy

public ToElementStrategy getToElementStrategy()

getTransactionLogMessages

public List<TransactionLogMessage> getTransactionLogMessages()

getUnit

public Unit getUnit()

getValue

public Value getValue()

getVersion

public Version getVersion()

getVerySparseEntity

public VerySparseEntity getVerySparseEntity()

getWrapped

public EntityInterface getWrapped()

hasCuid

public boolean hasCuid()

hasDatatype

public boolean hasDatatype()

hasDescription

public boolean hasDescription()

hasEntityACL

public boolean hasEntityACL()

hasEntityStatus

public boolean hasEntityStatus()

hasFileProperties

public boolean hasFileProperties()

hasId

public boolean hasId()

hasMessage

public boolean hasMessage(String type)

hasMessages

public boolean hasMessages()

hasName

public boolean hasName()

hasParents

public boolean hasParents()

hasPermission

public boolean hasPermission(Permission permission)

hasPermission

public boolean hasPermission(Subject subject, Permission permission)

hasProperties

public boolean hasProperties()

hasRole

public boolean hasRole()

hasStatementStatus

public boolean hasStatementStatus()

hasTransactionLogMessages

public boolean hasTransactionLogMessages()

hasUnit

public boolean hasUnit()

hasValue

public boolean hasValue()

hasVersion

public boolean hasVersion()

isDatatypeOverride

public boolean isDatatypeOverride()

isDescOverride

public boolean isDescOverride()

isNameOverride

public boolean isNameOverride()

isReference

public boolean isReference()

isReferenceList

public boolean isReferenceList()

linkIdToEntity

public EntityInterface linkIdToEntity(EntityInterface link)

notifyObservers

public void notifyObservers(String e)

parseFromElement

public void parseFromElement(Element element)

parseSparseEntity

public EntityInterface parseSparseEntity(SparseEntity spe)

parseValue

public void parseValue()

removeMessage

public void removeMessage(Message m)

setCuid

public void setCuid(String cuid)

setDatatype

public void setDatatype(AbstractDatatype datatype)

setDatatype

public void setDatatype(String datatype)

setDatatypeOverride

public EntityInterface setDatatypeOverride(boolean b)

setDescOverride

public EntityInterface setDescOverride(boolean b)

setDescription

public void setDescription(String description)

setEntityACL

public void setEntityACL(EntityACL acl)

setEntityStatus

public void setEntityStatus(EntityStatus entityStatus)

setFileProperties

public void setFileProperties(FileProperties fileProperties)

setFlag

public void setFlag(String key, String value)

setId

public void setId(EntityID id)

setName

public void setName(String name)

setNameOverride

public EntityInterface setNameOverride(boolean b)

setProperties

public void setProperties(PropertyContainer properties)

setQueryTemplateDefinition

public void setQueryTemplateDefinition(String query)

setRole

public void setRole(Role role)

setRole

public void setRole(String role)

setSerializeFieldStrategy

public void setSerializeFieldStrategy(SerializeFieldStrategy s)

setStatementStatus

public void setStatementStatus(StatementStatusInterface replacement)

setStatementStatus

public void setStatementStatus(String statementStatus)

setToElementStragegy

public void setToElementStragegy(ToElementStrategy s)

setUnit

public void setUnit(Unit unit)

setValue

public void setValue(Value value)

setVersion

public void setVersion(Version version)

skipJob

public boolean skipJob()

toElement

public Element toElement()