fr.inra.refcomp.entities
Class UnitDTO

java.lang.Object
  extended by fr.inra.refcomp.entities.UnitDTO
All Implemented Interfaces:
Unit, Serializable, Cloneable, org.nuiton.wikitty.entities.BusinessEntity

public class UnitDTO
extends Object
implements Unit

See Also:
Serialized Form

Field Summary
protected  String address
           
protected  String fullName
           
protected  int modificationCount
           
protected  String name
           
protected  Set<String> unitDeptLink
           
protected  String wikittyId
           
protected  String wikittyVersion
           
 
Fields inherited from interface fr.inra.refcomp.entities.Unit
ELEMENT_FIELD_UNIT_ADDRESS, ELEMENT_FIELD_UNIT_FULLNAME, ELEMENT_FIELD_UNIT_NAME, ELEMENT_FIELD_UNIT_UNITDEPTLINK, EXT_UNIT, FIELD_UNIT_ADDRESS, FIELD_UNIT_FULLNAME, FIELD_UNIT_NAME, FIELD_UNIT_UNITDEPTLINK, FQ_FIELD_UNIT_ADDRESS, FQ_FIELD_UNIT_FULLNAME, FQ_FIELD_UNIT_NAME, FQ_FIELD_UNIT_UNITDEPTLINK
 
Constructor Summary
UnitDTO()
           
UnitDTO(String wikittyId)
           
 
Method Summary
 void addAllUnitDeptLink(Collection<String> unitDeptLink)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String property, PropertyChangeListener listener)
           
 void addUnitDeptLink(String... element)
           
 void clearUnitDeptLink()
           
 void copyFrom(org.nuiton.wikitty.entities.BusinessEntity source)
           
 String getAddress()
           
 Collection<String> getExtensionFields(String ext)
           
 Collection<String> getExtensionNames()
           
 Object getField(String ext, String fieldName)
           
 String getFullName()
           
 String getName()
           
 Set<String> getUnitDeptLink()
           
 String getWikittyId()
           
 String getWikittyVersion()
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String property, PropertyChangeListener listener)
           
 void removeUnitDeptLink(String... element)
           
 void setAddress(String address)
           
 void setField(String ext, String fieldName, Object value)
           
 void setFullName(String fullName)
           
 void setName(String name)
           
 void setUnitDeptLink(Set<String> unitDeptLink)
           
 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

address

protected String address

fullName

protected String fullName

unitDeptLink

protected Set<String> unitDeptLink

wikittyId

protected String wikittyId

modificationCount

protected int modificationCount

wikittyVersion

protected String wikittyVersion
Constructor Detail

UnitDTO

public UnitDTO()

UnitDTO

public UnitDTO(String wikittyId)
Method Detail

getName

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

setName

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

getAddress

public String getAddress()
Specified by:
getAddress in interface Unit

setAddress

public void setAddress(String address)
Specified by:
setAddress in interface Unit

getFullName

public String getFullName()
Specified by:
getFullName in interface Unit

setFullName

public void setFullName(String fullName)
Specified by:
setFullName in interface Unit

getUnitDeptLink

public Set<String> getUnitDeptLink()
Specified by:
getUnitDeptLink in interface Unit

setUnitDeptLink

public void setUnitDeptLink(Set<String> unitDeptLink)
Specified by:
setUnitDeptLink in interface Unit

addAllUnitDeptLink

public void addAllUnitDeptLink(Collection<String> unitDeptLink)
Specified by:
addAllUnitDeptLink in interface Unit

addUnitDeptLink

public void addUnitDeptLink(String... element)
Specified by:
addUnitDeptLink in interface Unit

removeUnitDeptLink

public void removeUnitDeptLink(String... element)
Specified by:
removeUnitDeptLink in interface Unit

clearUnitDeptLink

public void clearUnitDeptLink()
Specified by:
clearUnitDeptLink in interface Unit

toString

public String toString()
Overrides:
toString in class Object

getWikittyId

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

setWikittyId

public void setWikittyId(String wikittyId)

getWikittyVersion

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

setWikittyVersion

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

addPropertyChangeListener

public void addPropertyChangeListener(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

addPropertyChangeListener

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

removePropertyChangeListener

public void removePropertyChangeListener(String property,
                                         PropertyChangeListener listener)
Specified by:
removePropertyChangeListener 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

copyFrom

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


Copyright © 2010-2012 Code Lutin. All Rights Reserved.