org.hibernate.test.readonly
Class VersionedNode

java.lang.Object
  extended by org.hibernate.test.readonly.VersionedNode

public class VersionedNode
extends Object

VersionedNode


Constructor Summary
VersionedNode()
           
VersionedNode(String id, String name)
           
 
Method Summary
 void addChild(VersionedNode child)
           
 Set getChildren()
           
 String getId()
           
 String getName()
           
 VersionedNode getParent()
           
 long getVersion()
           
 void setChildren(Set children)
           
 void setId(String id)
           
 void setName(String name)
           
 void setParent(VersionedNode parent)
           
 void setVersion(long version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionedNode

public VersionedNode()

VersionedNode

public VersionedNode(String id,
                     String name)
Method Detail

getId

public String getId()

setId

public void setId(String id)

getName

public String getName()

setName

public void setName(String name)

getVersion

public long getVersion()

setVersion

public void setVersion(long version)

getParent

public VersionedNode getParent()

setParent

public void setParent(VersionedNode parent)

getChildren

public Set getChildren()

setChildren

public void setChildren(Set children)

addChild

public void addChild(VersionedNode child)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.