fr.inra.refcomp.entities
Class UnitDeptLinkDTO

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

public class UnitDeptLinkDTO
extends Object
implements UnitDeptLink

See Also:
Serialized Form

Field Summary
protected  String department
           
protected  int modificationCount
           
protected  String unit
           
protected  String wikittyId
           
protected  String wikittyVersion
           
 
Fields inherited from interface fr.inra.refcomp.entities.UnitDeptLink
ELEMENT_FIELD_UNITDEPTLINK_DEPARTMENT, ELEMENT_FIELD_UNITDEPTLINK_UNIT, EXT_UNITDEPTLINK, FIELD_UNITDEPTLINK_DEPARTMENT, FIELD_UNITDEPTLINK_UNIT, FQ_FIELD_UNITDEPTLINK_DEPARTMENT, FQ_FIELD_UNITDEPTLINK_UNIT
 
Constructor Summary
UnitDeptLinkDTO()
           
UnitDeptLinkDTO(String wikittyId)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String property, PropertyChangeListener listener)
           
 void copyFrom(org.nuiton.wikitty.entities.BusinessEntity source)
           
 String getDepartment()
           
 Department getDepartment(boolean exceptionIfNotLoaded)
           
 Collection<String> getExtensionFields(String ext)
           
 Collection<String> getExtensionNames()
           
 Object getField(String ext, String fieldName)
           
 String getUnit()
           
 Unit getUnit(boolean exceptionIfNotLoaded)
           
 String getWikittyId()
           
 String getWikittyVersion()
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String property, PropertyChangeListener listener)
           
 void setDepartment(Department department)
           
 void setDepartment(String department)
           
 void setField(String ext, String fieldName, Object value)
           
 void setUnit(String unit)
           
 void setUnit(Unit unit)
           
 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

unit

protected String unit

department

protected String department

wikittyId

protected String wikittyId

modificationCount

protected int modificationCount

wikittyVersion

protected String wikittyVersion
Constructor Detail

UnitDeptLinkDTO

public UnitDeptLinkDTO()

UnitDeptLinkDTO

public UnitDeptLinkDTO(String wikittyId)
Method Detail

getUnit

public String getUnit()
Specified by:
getUnit in interface UnitDeptLink

setUnit

public void setUnit(String unit)
Specified by:
setUnit in interface UnitDeptLink

getUnit

public Unit getUnit(boolean exceptionIfNotLoaded)
Specified by:
getUnit in interface UnitDeptLink

setUnit

public void setUnit(Unit unit)
Specified by:
setUnit in interface UnitDeptLink

getDepartment

public String getDepartment()
Specified by:
getDepartment in interface UnitDeptLink

setDepartment

public void setDepartment(String department)
Specified by:
setDepartment in interface UnitDeptLink

getDepartment

public Department getDepartment(boolean exceptionIfNotLoaded)
Specified by:
getDepartment in interface UnitDeptLink

setDepartment

public void setDepartment(Department department)
Specified by:
setDepartment in interface UnitDeptLink

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.