org.nuiton.wikitty.api
Class WikittyUtilTest.LabelDTO

java.lang.Object
  extended by org.nuiton.wikitty.api.WikittyUtilTest.LabelDTO
All Implemented Interfaces:
Serializable, Cloneable, org.nuiton.wikitty.entities.BusinessEntity, org.nuiton.wikitty.entities.WikittyLabel
Enclosing class:
WikittyUtilTest

public static class WikittyUtilTest.LabelDTO
extends Object
implements org.nuiton.wikitty.entities.WikittyLabel

See Also:
Serialized Form

Field Summary
protected  Set<String> labels
           
protected  String wikittyId
           
protected  String wikittyVersion
           
 
Fields inherited from interface org.nuiton.wikitty.entities.WikittyLabel
EXT_WIKITTYLABEL, FIELD_WIKITTYLABEL_LABELS, FQ_FIELD_WIKITTYLABEL_LABELS
 
Constructor Summary
WikittyUtilTest.LabelDTO(String wikittyId)
           
 
Method Summary
 void addAllLabels(Set<String> labels)
           
 void addLabels(String element)
          addLabels :
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 void clearLabels()
          clearLabels :
 void copyFrom(org.nuiton.wikitty.entities.BusinessEntity source)
           
 Collection<String> getExtensionFields(String ext)
           
 Collection<String> getExtensionNames()
           
 Object getField(String ext, String fieldName)
           
 Set<String> getLabels()
          getLabels :
 String getWikittyId()
           
 String getWikittyVersion()
           
 void removeLabels(String element)
          removeLabels :
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 void setField(String ext, String fieldName, Object value)
           
 void setLabels(Set<String> labels)
           
 void setWikittyVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wikittyId

protected String wikittyId

wikittyVersion

protected String wikittyVersion

labels

protected Set<String> labels
Constructor Detail

WikittyUtilTest.LabelDTO

public WikittyUtilTest.LabelDTO(String wikittyId)
Method Detail

getWikittyId

public String getWikittyId()
Specified by:
getWikittyId in interface org.nuiton.wikitty.entities.BusinessEntity

getWikittyVersion

public String getWikittyVersion()
Specified by:
getWikittyVersion in interface org.nuiton.wikitty.entities.BusinessEntity

setWikittyVersion

public void setWikittyVersion(String version)
Specified by:
setWikittyVersion in interface org.nuiton.wikitty.entities.BusinessEntity

getLabels

public Set<String> getLabels()
getLabels :

Specified by:
getLabels in interface org.nuiton.wikitty.entities.WikittyLabel
Returns:
Set

setLabels

public void setLabels(Set<String> labels)
Specified by:
setLabels in interface org.nuiton.wikitty.entities.WikittyLabel

addAllLabels

public void addAllLabels(Set<String> labels)
Specified by:
addAllLabels in interface org.nuiton.wikitty.entities.WikittyLabel

addLabels

public void addLabels(String element)
addLabels :

Specified by:
addLabels in interface org.nuiton.wikitty.entities.WikittyLabel
Parameters:
element -

removeLabels

public void removeLabels(String element)
removeLabels :

Specified by:
removeLabels in interface org.nuiton.wikitty.entities.WikittyLabel
Parameters:
element -

clearLabels

public void clearLabels()
clearLabels :

Specified by:
clearLabels in interface org.nuiton.wikitty.entities.WikittyLabel

copyFrom

public void copyFrom(org.nuiton.wikitty.entities.BusinessEntity source)
Specified by:
copyFrom in interface org.nuiton.wikitty.entities.BusinessEntity

getExtensionFields

public Collection<String> getExtensionFields(String ext)
Specified by:
getExtensionFields in interface org.nuiton.wikitty.entities.BusinessEntity

getExtensionNames

public Collection<String> getExtensionNames()
Specified by:
getExtensionNames in interface org.nuiton.wikitty.entities.BusinessEntity

getField

public Object getField(String ext,
                       String fieldName)
Specified by:
getField in interface org.nuiton.wikitty.entities.BusinessEntity

setField

public void setField(String ext,
                     String fieldName,
                     Object value)
Specified by:
setField in interface org.nuiton.wikitty.entities.BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface org.nuiton.wikitty.entities.BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(String propertyName,
                                      PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface org.nuiton.wikitty.entities.BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface org.nuiton.wikitty.entities.BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(String propertyName,
                                         PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface org.nuiton.wikitty.entities.BusinessEntity


Copyright © 2009-2010 CodeLutin. All Rights Reserved.