org.squashtest.csp.tm.domain.library
Class NodeReference

java.lang.Object
  extended by org.squashtest.csp.tm.domain.library.NodeReference

public class NodeReference
extends Object

POJO holding basic informations regarding nodes, when one do not need the full data held in the Session cache.

Author:
bsiri

Constructor Summary
NodeReference(Long id, String name, boolean isDirectory)
           
NodeReference(Object[] rawData)
          this one accepts an object array formatted as { Long, String, Boolean }
 
Method Summary
 boolean equals(Object obj)
           
 Long getId()
           
 String getName()
           
 int hashCode()
           
 boolean isDirectory()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeReference

public NodeReference(Long id,
                     String name,
                     boolean isDirectory)

NodeReference

public NodeReference(Object[] rawData)
this one accepts an object array formatted as { Long, String, Boolean }

Parameters:
rawData -
Method Detail

getId

public Long getId()

getName

public String getName()

isDirectory

public boolean isDirectory()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.