Package com.logicaldoc.core.metadata
Interface Extensible
- All Known Implementing Classes:
AbstractAttributeSet
,AbstractDocument
,AttributeSet
,Document
,ExtensibleObject
,Folder
,Generic
,Hit
,Template
,Version
public interface Extensible
Interface to be implemented by those
PersistentObject
s that have extensible attribtues- Since:
- 9.2
- Author:
- Giuseppe Desiato - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) getAttributeAtPosition
(int position) getAttributeNames
(long setId) getValueAttributes
(String name) void
removeAttribute
(String name) void
setAttribute
(String name, Attribute attribute) Puts a new attribute, if the attribute already exists his position and label are left untouchedvoid
setAttributes
(Map<String, Attribute> attributes) void
setTemplate
(Template template) void
setTemplateId
(Long templateId) void
setTemplateName
(String templateName)
-
Method Details
-
getAttributes
-
setAttributes
-
getTemplateId
Long getTemplateId() -
setTemplateId
-
getTemplateName
String getTemplateName() -
setTemplateName
-
getTemplate
Template getTemplate() -
setTemplate
-
getValueAttributes
-
getValues
-
getValue
-
getAttribute
-
getAttributeNames
-
getAttributeNames
-
removeAttribute
-
getAttributeAtPosition
-
setValues
-
setAttribute
Puts a new attribute, if the attribute already exists his position and label are left untouched- Parameters:
name
- name of the attributeattribute
- the attribute instance
-
setValue
-