Package de.espirit.firstspirit.storage
Interface Tag
- All Superinterfaces:
Comparable<Tag>
,Serializable
Tag interface for tagged repository revisions.
- Since:
- 4.2.400
-
Method Summary
Modifier and TypeMethodDescriptionReturns the comment of this tag.long
Returns the time of creation of this tag.Returns the editor string of this revision.long
getId()
Returns the id of this tag.getName()
Get the name of the tag.getProperty
(String name) Returns value for a property.Returns list of all property names.Returns the tagged revision.void
removeProperty
(String name) Remove a propertyvoid
setProperty
(String name, String value) Set value of a property.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getId
long getId()Returns the id of this tag.- Since:
- 4.2.400
-
getName
String getName()Get the name of the tag.- Returns:
- The tag name
- Since:
- 4.2.400
-
getRevision
Revision getRevision()Returns the tagged revision.- Returns:
- The revision
- Since:
- 4.2.400
-
getComment
String getComment()Returns the comment of this tag. This can be a editor specific comment or an system specific comment.- Returns:
- the comment of this tag
- Since:
- 4.2.400
-
getEditor
String getEditor()Returns the editor string of this revision.- Returns:
- Editor information string
- Since:
- 4.2.400
-
getCreationTime
long getCreationTime()Returns the time of creation of this tag.- Returns:
- The creation time im milliseconds
- Since:
- 4.2.400
-
getPropertyNames
Returns list of all property names.- Returns:
- List of property names
- Since:
- 4.2.400
-
getProperty
Returns value for a property.- Parameters:
name
- The property key name- Returns:
- Property value
- Since:
- 4.2.400
-
setProperty
Set value of a property.- Parameters:
name
- The property key namevalue
- The value- Since:
- 4.2.400
-
removeProperty
Remove a property- Parameters:
name
- The property key name- Since:
- 4.2.400
-