EntityInterface

public interface EntityInterface extends JobTarget, Observable, ToElementable, WriteEntity, TransactionEntity

Methods

addParent

public abstract void addParent(Parent parent)

addProperty

public abstract void addProperty(Property property)

addProperty

public abstract void addProperty(List<Property> properties)

addToElement

public abstract void addToElement(Element element, SerializeFieldStrategy strategy)

addTransactionLog

public abstract void addTransactionLog(TransactionLogMessage transactionLogMessage)

checkPermission

public abstract void checkPermission(Subject subject, Permission permission)

checkPermission

public abstract void checkPermission(Permission permission)

getDatatype

public abstract AbstractDatatype getDatatype()

getDescription

public abstract String getDescription()

getDomain

public abstract EntityID getDomain()

getEntityACL

public abstract EntityACL getEntityACL()

getFileProperties

public abstract FileProperties getFileProperties()

getId

public abstract EntityID getId()

getIdVersion

public abstract String getIdVersion()

getName

public abstract String getName()

getParents

public abstract ParentContainer getParents()

getProperties

public abstract PropertyContainer getProperties()

getQueryTemplateDefinition

public abstract String getQueryTemplateDefinition()

getRole

public abstract Role getRole()

getSerializeFieldStrategy

public abstract SerializeFieldStrategy getSerializeFieldStrategy()

getSparseEntity

public abstract SparseEntity getSparseEntity()

getStatementStatus

public abstract StatementStatusInterface getStatementStatus()

getTransactionLogMessages

public abstract List<TransactionLogMessage> getTransactionLogMessages()

getUnit

public abstract Unit getUnit()

getValue

public abstract Value getValue()

getVersion

public abstract Version getVersion()

getVerySparseEntity

public abstract VerySparseEntity getVerySparseEntity()

hasDatatype

public abstract boolean hasDatatype()

hasDescription

public abstract boolean hasDescription()

hasEntityACL

public abstract boolean hasEntityACL()

hasFileProperties

public abstract boolean hasFileProperties()

hasId

public abstract boolean hasId()

hasName

public abstract boolean hasName()

hasParents

public abstract boolean hasParents()

hasPermission

public abstract boolean hasPermission(Permission permission)

Return true iff the current thread’s subject has a permission.

hasPermission

public abstract boolean hasPermission(Subject subject, Permission permission)

Return true iff the given subject has a permission.

hasProperties

public abstract boolean hasProperties()

hasRole

public abstract boolean hasRole()

hasStatementStatus

public abstract boolean hasStatementStatus()

hasTransactionLogMessages

public abstract boolean hasTransactionLogMessages()

hasUnit

public abstract boolean hasUnit()

hasValue

public abstract boolean hasValue()

hasVersion

public abstract boolean hasVersion()

isDatatypeOverride

public abstract boolean isDatatypeOverride()

isDescOverride

public abstract boolean isDescOverride()

isNameOverride

public abstract boolean isNameOverride()

isReference

public abstract boolean isReference()

Return true iff the data type is present and is an instance of ReferenceDatatype.

isReferenceList

public abstract boolean isReferenceList()

Return true iff the data type is present, an instance of AbstractCollectionDatatype and the AbstractCollectionDatatype’s elements’ data type is an instance of ReferenceDatatype.

linkIdToEntity

public abstract EntityInterface linkIdToEntity(EntityInterface link)

parseSparseEntity

public abstract EntityInterface parseSparseEntity(SparseEntity spe)

parseValue

public abstract void parseValue()

setDatatype

public abstract void setDatatype(AbstractDatatype datatype)

setDatatype

public abstract void setDatatype(String datatype)

setDatatypeOverride

public abstract EntityInterface setDatatypeOverride(boolean b)

setDescOverride

public abstract EntityInterface setDescOverride(boolean b)

setDescription

public abstract void setDescription(String description)

setEntityACL

public abstract void setEntityACL(EntityACL acl)

setFileProperties

public abstract void setFileProperties(FileProperties fileProperties)

setId

public abstract void setId(EntityID id)

setId

public void setId(String id)

setName

public abstract void setName(String name)

setNameOverride

public abstract EntityInterface setNameOverride(boolean b)

setProperties

public abstract void setProperties(PropertyContainer properties)

setQueryTemplateDefinition

public abstract void setQueryTemplateDefinition(String query)

setRole

public abstract void setRole(Role role)

setRole

public abstract void setRole(String role)

setStatementStatus

public abstract void setStatementStatus(StatementStatusInterface statementStatus)

setStatementStatus

public abstract void setStatementStatus(String statementStatus)

setUnit

public abstract void setUnit(Unit unit)

setValue

public abstract void setValue(Value value)

setVersion

public abstract void setVersion(Version version)

toString

public abstract String toString()