com.loribel.commons.business.impl.old
Class GB_BOEnumItemNode3

java.lang.Object
  extended bycom.loribel.commons.xml.GB_ObjectNode
      extended bycom.loribel.commons.business.impl.GB_BONodeAbstract
          extended bycom.loribel.commons.business.impl.old.GB_BOEnumItemNode3
All Implemented Interfaces:
GB_BOEnumItem, GB_IconsOwner, GB_IndexOwner, GB_Item, GB_LabelIconOwner, GB_LabelsDescOwner, GB_NameOwner, GB_NodeConfigOwner, GB_ValueOwner

public abstract class GB_BOEnumItemNode3
extends GB_BONodeAbstract
implements GB_BOEnumItem

Default implementation of GB_BOEnumItem.

Author:
Gregory Borelli

Nested Class Summary
 class GB_BOEnumItemNode3.NODE_NAME
          Property names of this Business Object.
 
Field Summary
 
Fields inherited from class com.loribel.commons.xml.GB_ObjectNode
node, stringConvertors
 
Constructor Summary
GB_BOEnumItemNode3(org.w3c.dom.Node a_node)
           
GB_BOEnumItemNode3(org.w3c.dom.Node a_node, java.lang.Class a_type)
           
 
Method Summary
 org.w3c.dom.Element getConfigNode()
          Returns the XML Node of the config.
 java.lang.String getDescription()
           
 javax.swing.Icon getIcon()
           
 int getIndex()
           
 java.lang.String getLabel()
           
 GB_LabelIcon getLabelIcon()
          Return a GB_LabelIcon.
 java.lang.String getName()
           
 java.lang.Class getType()
           
 java.lang.Object getValue()
          Get the value.
protected  void initIndex()
           
protected  void initName()
           
protected  void initType()
           
protected  void initValue()
           
 void setDescription(java.lang.String a_description)
           
 void setIndex(int a_index)
           
 void setLabel(java.lang.String a_label)
           
 void setName(java.lang.String a_Name)
           
 void setType(java.lang.Class a_type)
           
 void setValue(java.lang.Object a_value)
           
 
Methods inherited from class com.loribel.commons.business.impl.GB_BONodeAbstract
getI18n, getI18n, setLng
 
Methods inherited from class com.loribel.commons.xml.GB_ObjectNode
getAttributeValue, getAttributeValue, getChildNodeList, getFirstChildElement, getNode, getNodeElementValuesByName, getNodeValue, getNodeValue, setNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.loribel.commons.abstraction.GB_LabelsDescOwner
getDescription, getLabel
 
Methods inherited from interface com.loribel.commons.abstraction.GB_IconsOwner
getIcon
 

Constructor Detail

GB_BOEnumItemNode3

public GB_BOEnumItemNode3(org.w3c.dom.Node a_node)

GB_BOEnumItemNode3

public GB_BOEnumItemNode3(org.w3c.dom.Node a_node,
                          java.lang.Class a_type)
Method Detail

getConfigNode

public org.w3c.dom.Element getConfigNode()
Returns the XML Node of the config.

Specified by:
getConfigNode in interface GB_NodeConfigOwner

getName

public final java.lang.String getName()
Specified by:
getName in interface GB_NameOwner

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface GB_BOEnumItem

getIcon

public javax.swing.Icon getIcon()
Specified by:
getIcon in interface GB_BOEnumItem

getIndex

public final int getIndex()
Specified by:
getIndex in interface GB_IndexOwner

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface GB_BOEnumItem

getLabelIcon

public GB_LabelIcon getLabelIcon()
Description copied from interface: GB_LabelIconOwner
Return a GB_LabelIcon.

Specified by:
getLabelIcon in interface GB_LabelIconOwner
Returns:
GB_LabelIcon

getType

public final java.lang.Class getType()

getValue

public final java.lang.Object getValue()
Description copied from interface: GB_ValueOwner
Get the value.

Specified by:
getValue in interface GB_ValueOwner
Returns:
Object

initName

protected void initName()

initIndex

protected void initIndex()

initType

protected void initType()

initValue

protected void initValue()

setName

public void setName(java.lang.String a_Name)

setDescription

public void setDescription(java.lang.String a_description)

setIndex

public void setIndex(int a_index)

setLabel

public void setLabel(java.lang.String a_label)

setType

public void setType(java.lang.Class a_type)

setValue

public void setValue(java.lang.Object a_value)


Copyright © 2002-2007 Gregory Borelli [Loribel]. All Rights Reserved.