Package com.logicaldoc.core.metadata
Class AbstractAttributeSet
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.metadata.ExtensibleObject
com.logicaldoc.core.security.SecurableExtensibleObject
com.logicaldoc.core.metadata.AbstractAttributeSet
- All Implemented Interfaces:
Securable
,Serializable
- Direct Known Subclasses:
AttributeSet
,Template
A base class for attribute sets and templates
- Since:
- 8.8.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The AttributeSet's default type: 0Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getLabel()
getName()
int
int
getType()
int
hashCode()
void
setDescription
(String description) void
void
void
setReadonly
(int readonly) void
setType
(int type) Methods inherited from class com.logicaldoc.core.security.SecurableExtensibleObject
addAccessControlEntry, getAccessControlEntry, getAccessControlList, setAccessControlList
Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getTemplate, getTemplateId, getTemplateName, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setTemplate, setTemplateId, setTemplateName, setValue, setValues
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Field Details
-
TYPE_DEFAULT
public static final int TYPE_DEFAULTThe AttributeSet's default type: 0- See Also:
-
-
Constructor Details
-
AbstractAttributeSet
public AbstractAttributeSet()
-
-
Method Details
-
getName
-
setName
-
getDescription
-
setDescription
-
getReadonly
public int getReadonly() -
setReadonly
public void setReadonly(int readonly) -
getType
public int getType() -
setType
public void setType(int type) -
getLabel
-
setLabel
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-
equals
- Overrides:
equals
in classPersistentObject
-