de.espirit.firstspirit.storage
Interface Tag

All Superinterfaces:
Comparable<Tag>, Serializable

public interface Tag
extends Serializable, Comparable<Tag>

Tag interface for tagged repository revisions.

Since:
4.2.400

Method Summary
 String getComment()
          Returns the comment of this tag.
 long getCreationTime()
          Returns the time of creation of this tag.
 String getEditor()
          Returns the editor string of this revision.
 long getId()
          Returns the id of this tag.
 String getName()
          Get the name of the tag.
 String getProperty(String name)
          Returns value for a property.
 List<String> getPropertyNames()
          Returns list of all property names.
 Revision getRevision()
          Returns the tagged revision.
 void removeProperty(String name)
          Remove a property
 void setProperty(String name, String value)
          Set value of a property.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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

List<String> getPropertyNames()
Returns list of all property names.

Returns:
List of property names
Since:
4.2.400

getProperty

String getProperty(String name)
Returns value for a property.

Parameters:
name - The property key name
Returns:
Property value
Since:
4.2.400

setProperty

void setProperty(String name,
                 String value)
Set value of a property.

Parameters:
name - The property key name
value - The value
Since:
4.2.400

removeProperty

void removeProperty(String name)
Remove a property

Parameters:
name - The property key name
Since:
4.2.400


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480