VersionableContent Class

com.bea.content.virtual.version
VersionableContent Class

public class VersionableContent

    extends Object
    implements Serializable

Version maintains information on the verion of a VirtualNode.


Hierarchy
Object
  VersionableContent
All Implemented Interfaces

Serializable
Direct Known Subclasses

Version

Constructor Summary

VersionableContent(int status, String comment, Property properties)

 

Method Summary

public void
addProperty(Property property)
public String
getComment()
Gets a comment on the version.
public Property[]
getProperties()
Gets the Properties for this node.
public Property
getProperty(String name)
Returns the property referenced by name or null if the property does not exist.
public int
getStatus()
public void
setComment(String comment)
public void
setProperties(Property[] properties)
Sets the Properties for this node.
public void
setStatus(int status)
public String
toString()
Returns the attributes of this Node in a String.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
   

Constructor Detail

VersionableContent

public VersionableContent(int status, 
                          String comment, 
                          Property[] properties)
 

Method Detail

addProperty(Property) Method

public void addProperty(Property property)

getComment() Method

public String getComment()
Gets a comment on the version.


getProperties() Method

public Property[] getProperties()
Gets the Properties for this node.


getProperty(String) Method

public Property getProperty(String name)
Returns the property referenced by name or null if the property does not exist.


getStatus() Method

public int getStatus()

setComment(String) Method

public void setComment(String comment)

setProperties(Property[]) Method

public void setProperties(Property[] properties)
Sets the Properties for this node. Each property must have a corresponding PropertyDefinition defined in the Node's ObjectClass.


setStatus(int) Method

public void setStatus(int status)

toString() Method

public String toString()
Returns the attributes of this Node in a String.

Overrides
Object.toString()