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
PersistentObjects 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) voidremoveAttribute(String name) voidsetAttribute(String name, Attribute attribute) Puts a new attribute, if the attribute already exists his position and label are left untouchedvoidsetAttributes(Map<String, Attribute> attributes) voidsetTemplate(Template template) voidsetTemplateId(Long templateId) voidsetTemplateName(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
-