org.nuiton.wikitty.entities
Class WikittyTreeNodeDTO

java.lang.Object
  extended by org.nuiton.wikitty.entities.WikittyTreeNodeDTO
All Implemented Interfaces:
Serializable, Cloneable, BusinessEntity, WikittyTreeNode

public class WikittyTreeNodeDTO
extends Object
implements WikittyTreeNode

See Also:
Serialized Form

Field Summary
protected  Set<String> attachment
           
protected  int modificationCount
           
protected  String name
           
protected  String parent
           
protected  String wikittyId
           
protected  String wikittyVersion
           
 
Fields inherited from interface org.nuiton.wikitty.entities.WikittyTreeNode
ELEMENT_FIELD_WIKITTYTREENODE_ATTACHMENT, ELEMENT_FIELD_WIKITTYTREENODE_NAME, ELEMENT_FIELD_WIKITTYTREENODE_PARENT, EXT_WIKITTYTREENODE, FIELD_WIKITTYTREENODE_ATTACHMENT, FIELD_WIKITTYTREENODE_NAME, FIELD_WIKITTYTREENODE_PARENT, FQ_FIELD_WIKITTYTREENODE_ATTACHMENT, FQ_FIELD_WIKITTYTREENODE_NAME, FQ_FIELD_WIKITTYTREENODE_PARENT
 
Constructor Summary
WikittyTreeNodeDTO()
           
WikittyTreeNodeDTO(String wikittyId)
           
 
Method Summary
 void addAllAttachment(Collection<String> attachment)
           
 void addAttachment(String... element)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String property, PropertyChangeListener listener)
           
 void clearAttachment()
           
 void copyFrom(BusinessEntity source)
           
 Set<String> getAttachment()
           
 Collection<String> getExtensionFields(String ext)
           
 Collection<String> getExtensionNames()
           
 Object getField(String ext, String fieldName)
           
 String getName()
           
 String getParent()
           
 WikittyTreeNode getParent(boolean exceptionIfNotLoaded)
           
 String getWikittyId()
           
 String getWikittyVersion()
           
 void removeAttachment(String... element)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String property, PropertyChangeListener listener)
           
 void setAttachment(Set<String> attachment)
           
 void setField(String ext, String fieldName, Object value)
           
 void setName(String name)
           
 void setParent(String parent)
           
 void setParent(WikittyTreeNode parent)
           
 void setWikittyId(String wikittyId)
           
 void setWikittyVersion(String wikittyVersion)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

attachment

protected Set<String> attachment

parent

protected String parent

wikittyId

protected String wikittyId

modificationCount

protected int modificationCount

wikittyVersion

protected String wikittyVersion
Constructor Detail

WikittyTreeNodeDTO

public WikittyTreeNodeDTO()

WikittyTreeNodeDTO

public WikittyTreeNodeDTO(String wikittyId)
Method Detail

getName

public String getName()
Specified by:
getName in interface WikittyTreeNode

setName

public void setName(String name)
Specified by:
setName in interface WikittyTreeNode

getAttachment

public Set<String> getAttachment()
Specified by:
getAttachment in interface WikittyTreeNode

setAttachment

public void setAttachment(Set<String> attachment)
Specified by:
setAttachment in interface WikittyTreeNode

addAllAttachment

public void addAllAttachment(Collection<String> attachment)
Specified by:
addAllAttachment in interface WikittyTreeNode

addAttachment

public void addAttachment(String... element)
Specified by:
addAttachment in interface WikittyTreeNode

removeAttachment

public void removeAttachment(String... element)
Specified by:
removeAttachment in interface WikittyTreeNode

clearAttachment

public void clearAttachment()
Specified by:
clearAttachment in interface WikittyTreeNode

getParent

public String getParent()
Specified by:
getParent in interface WikittyTreeNode

setParent

public void setParent(String parent)
Specified by:
setParent in interface WikittyTreeNode

getParent

public WikittyTreeNode getParent(boolean exceptionIfNotLoaded)
Specified by:
getParent in interface WikittyTreeNode

setParent

public void setParent(WikittyTreeNode parent)
Specified by:
setParent in interface WikittyTreeNode

toString

public String toString()
Overrides:
toString in class Object

getWikittyId

public String getWikittyId()
Specified by:
getWikittyId in interface BusinessEntity

setWikittyId

public void setWikittyId(String wikittyId)

getWikittyVersion

public String getWikittyVersion()
Specified by:
getWikittyVersion in interface BusinessEntity

setWikittyVersion

public void setWikittyVersion(String wikittyVersion)
Specified by:
setWikittyVersion in interface BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(String property,
                                      PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(String property,
                                         PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface BusinessEntity

getExtensionFields

public Collection<String> getExtensionFields(String ext)
Specified by:
getExtensionFields in interface BusinessEntity

getExtensionNames

public Collection<String> getExtensionNames()
Specified by:
getExtensionNames in interface BusinessEntity

getField

public Object getField(String ext,
                       String fieldName)
Specified by:
getField in interface BusinessEntity

setField

public void setField(String ext,
                     String fieldName,
                     Object value)
Specified by:
setField in interface BusinessEntity

copyFrom

public void copyFrom(BusinessEntity source)
Specified by:
copyFrom in interface BusinessEntity


Copyright © 2010-2012 CodeLutin. All Rights Reserved.