|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.api.core.domain.ProjectdocMetaData
public class ProjectdocMetaData
Stores document instance information for projectdoc metadata.
Constructor Summary | |
---|---|
ProjectdocMetaData() Convenience constructor without a parent to inherit from. |
|
ProjectdocMetaData(ProjectdocMetaData parent) Default constructor. |
Method Summary | |
---|---|
void |
addAudience(String member) Adds the member to the intended audience of this document. |
void |
addCategory(String category) Adds a category. |
protected static void |
addElement(List<String> elements, String element) Adds the element to the given list, if the element is neither blank nor already part of the list. |
void |
addNote(String note) Adds a note. |
void |
addParent(String parent) Adds a parent. |
void |
addTag(String tag) Adds a tag. |
List<String> |
getAudience() Returns the audience the documentation targets. |
List<String> |
getCategories() Returns the categories associated with the document instance. |
String |
getName() Returns the unique document identifier. |
List<String> |
getNotes() Returns the list of notes appended to the document instance. |
ProjectdocMetaData |
getParent() Returns the reference to the parent meta data to access as default values. |
List<String> |
getParents() Returns the parents associated with the document instance. |
String |
getShortDescription() Returns the short description of the document to be incorporated in an overview table. |
String |
getSortKey() Returns the value for sortKey. |
String |
getSpace() Returns the space within which the title of a document is required to be unique. |
String |
getSummary() Returns the short summary of contents of the document to give more detailed information to a potential reader. |
List<String> |
getTags() Returns the tags associated with the document instance. |
String |
getTitle() Returns the title of a document, unique within the given space. |
void |
setName(String name) Sets the name of the document if not blank. |
void |
setShortDescription(String shortDescription) Sets the short description of the document to be incorporated in an overview table. |
void |
setSortKey(String sortKey) Sets the option to sort elements. |
void |
setSpace(String space) Sets the space within which the title of a document is required to be unique. |
void |
setSummary(String summary) Sets the short summary of contents of the document to give more detailed information to a potential reader. |
void |
setTitle(String title) Sets the title of a document, unique within the given space. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProjectdocMetaData()
public ProjectdocMetaData(ProjectdocMetaData parent)
parent
- the reference to the parent meta data to access as default values.
Method Detail |
---|
public final ProjectdocMetaData getParent()
public final List<String> getCategories()
DocumentMetaData
getCategories
in interface
DocumentMetaData
public final void addCategory(String category)
category
- the category to be added.
public final List<String> getTags()
DocumentMetaData
getTags
in interface
DocumentMetaData
public final void addTag(String tag)
tag
- the tag to be added.
public final List<String> getParents()
DocumentMetaData
getParents
in interface
DocumentMetaData
public final void addParent(String parent)
parent
- the parent to be added.
public final String getName()
DocumentMetaData
Dependent on the evaluation context the name given here may be expanded to be unique. So the uniqueness of this key is dependent of the context.
getName
in interface
DocumentMetaData
public final void setName(String name)
name
- the name of the document to set.
public final String getShortDescription()
DocumentMetaData
getShortDescription
in interface
DocumentMetaData
public final void setShortDescription(String shortDescription)
shortDescription
- the short description of the document to be incorporated in an overview table.
public final List<String> getNotes()
DocumentMetaData
getNotes
in interface
DocumentMetaData
public final void addNote(String note)
note
- the note to be added.
public final String getSpace()
DocumentMetaData
getSpace
in interface
DocumentMetaData
public final void setSpace(String space)
space
- the space within which the title of a document is required to be unique.
public final String getTitle()
DocumentMetaData
getTitle
in interface
DocumentMetaData
public final void setTitle(String title)
title
- the title of a document, unique within the given space.
public final String getSummary()
DocumentMetaData
getSummary
in interface
DocumentMetaData
public final void setSummary(String summary)
summary
- the short summary of contents of the document to give more detailed information to a potential reader.
public final String getSortKey()
DocumentMetaData
Option to sort elements. This sort key is used first for sorting the document instances in the index document of this doctype.
getSortKey
in interface
DocumentMetaData
public final void setSortKey(String sortKey)
sortKey
- the option to sort elements.
public final List<String> getAudience()
DocumentMetaData
getAudience
in interface
DocumentMetaData
public final void addAudience(String member)
member
- the audience member to add.
protected static final void addElement(List<String> elements, String element)
elements
- the list to add to.
element
- the element to be added.
public final String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |