fr.inra.refcomp.entities
Class UnitAbstract

java.lang.Object
  extended by org.nuiton.wikitty.entities.BusinessEntityImpl
      extended by fr.inra.refcomp.entities.UnitAbstract
All Implemented Interfaces:
Unit, Serializable, Cloneable, org.nuiton.wikitty.entities.BusinessEntity
Direct Known Subclasses:
UnitImpl

public abstract class UnitAbstract
extends org.nuiton.wikitty.entities.BusinessEntityImpl
implements Unit

See Also:
Serialized Form

Field Summary
static List<org.nuiton.wikitty.entities.WikittyExtension> extensions
           
static org.nuiton.wikitty.entities.WikittyExtension extensionUnit
           
 
Fields inherited from class org.nuiton.wikitty.entities.BusinessEntityImpl
extensionForMetaExtension, propertyChangeSupport, wikitty
 
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
UnitAbstract()
           
UnitAbstract(org.nuiton.wikitty.entities.BusinessEntityImpl businessEntityImpl)
           
UnitAbstract(org.nuiton.wikitty.entities.Wikitty wikitty)
           
 
Method Summary
 void addAllUnitDeptLink(Collection<String> unitDeptLink)
           
 void addAllUnitDeptLinkEntity(Collection<UnitDeptLink> unitDeptLink)
           
 void addUnitDeptLink(String... element)
           
 void addUnitDeptLink(UnitDeptLink... element)
           
 void clearUnitDeptLink()
           
 String getAddress()
           
 String getFullName()
           
 String getName()
           
 Collection<org.nuiton.wikitty.entities.WikittyExtension> getStaticExtensions()
           
 Set<String> getUnitDeptLink()
           
 Set<UnitDeptLink> getUnitDeptLink(boolean exceptionIfNotLoaded)
           
 void removeUnitDeptLink(String... element)
           
 void removeUnitDeptLink(UnitDeptLink... element)
           
 void setAddress(String address)
           
 void setFullName(String fullName)
           
 void setName(String name)
           
 void setUnitDeptLink(Set<String> unitDeptLink)
           
 void setUnitDeptLinkEntity(Collection<UnitDeptLink> unitDeptLink)
           
 String toString()
          Return toString representation.
 
Methods inherited from class org.nuiton.wikitty.entities.BusinessEntityImpl
addPropertyChangeListener, addPropertyChangeListener, copyFrom, equals, getExtensionFields, getExtensionNames, getField, getFieldType, getPropertyChangeSupport, getWikitty, getWikittyId, getWikittyVersion, hashCode, removePropertyChangeListener, removePropertyChangeListener, setField, setWikitty, setWikittyVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuiton.wikitty.entities.BusinessEntity
addPropertyChangeListener, addPropertyChangeListener, copyFrom, getExtensionFields, getExtensionNames, getField, getWikittyId, getWikittyVersion, removePropertyChangeListener, removePropertyChangeListener, setField, setWikittyVersion
 

Field Detail

extensions

public static final List<org.nuiton.wikitty.entities.WikittyExtension> extensions

extensionUnit

public static final org.nuiton.wikitty.entities.WikittyExtension extensionUnit
Constructor Detail

UnitAbstract

public UnitAbstract()

UnitAbstract

public UnitAbstract(org.nuiton.wikitty.entities.Wikitty wikitty)

UnitAbstract

public UnitAbstract(org.nuiton.wikitty.entities.BusinessEntityImpl businessEntityImpl)
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

getUnitDeptLink

public Set<UnitDeptLink> getUnitDeptLink(boolean exceptionIfNotLoaded)
Specified by:
getUnitDeptLink in interface Unit

setUnitDeptLinkEntity

public void setUnitDeptLinkEntity(Collection<UnitDeptLink> unitDeptLink)
Specified by:
setUnitDeptLinkEntity in interface Unit

addAllUnitDeptLinkEntity

public void addAllUnitDeptLinkEntity(Collection<UnitDeptLink> unitDeptLink)
Specified by:
addAllUnitDeptLinkEntity in interface Unit

addUnitDeptLink

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

removeUnitDeptLink

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

getStaticExtensions

public Collection<org.nuiton.wikitty.entities.WikittyExtension> getStaticExtensions()
Overrides:
getStaticExtensions in class org.nuiton.wikitty.entities.BusinessEntityImpl

toString

public String toString()
Return toString representation. Use tagValue 'toString' format, if exist, else standard toString is call

Overrides:
toString in class Object
Returns:


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