com.loribel.commons.business.impl.bo
Class GB_BOPropertyBO

java.lang.Object
  extended bycom.loribel.commons.business.GB_BusinessObjectAbstract
      extended bycom.loribel.commons.business.GB_BusinessObjectDefault
          extended bycom.loribel.commons.business.impl.bo.generated.GB_BOPropertyBOGen
              extended bycom.loribel.commons.business.impl.bo.GB_BOPropertyBO
All Implemented Interfaces:
GB_BODescriptionsMOwner, GB_BOLabelsDescMOwner, GB_BOLabelsMOwner, GB_BOMetaModel, GB_BOParentOwner, GB_BOParentOwnerSet, GB_BOProperty, GB_BOPropertySimple, GB_BOValueOwner, GB_BusinessObject, GB_Debugable, GB_IconsOwner, GB_IdOwner, GB_IndexOwner, GB_LabelIconOwner, GB_LabelInfoOwner, GB_LabelsDescOwner, GB_MementoCompliant, GB_MyPropertyOwner, GB_NameOwner, GB_NodeConfigOwner, GB_SimpleBusinessObject, GB_SimpleBusinessObjectSet, GB_TsOwner, GB_TypeOwner, GB_TypeOwnerSet, GB_Unregisterable

public class GB_BOPropertyBO
extends GB_BOPropertyBOGen
implements GB_BOProperty, GB_TypeOwnerSet, GB_IdOwner, GB_BOLabelsDescMOwner

Class GB_BOPropertyBO.


Nested Class Summary
 
Nested classes inherited from class com.loribel.commons.business.impl.bo.generated.GB_BOPropertyBOGen
GB_BOPropertyBOGen.BO_PROPERTY, GB_BOPropertyBOGen.PERSISTENCE_XML, GB_BOPropertyBOGen.SEMANTIC, GB_BOPropertyBOGen.TYPE
 
Nested classes inherited from class com.loribel.commons.business.abstraction.GB_BOProperty
GB_BOProperty.PERSISTENCE_XML, GB_BOProperty.SEMANTIC
 
Nested classes inherited from class com.loribel.commons.business.abstraction.GB_BusinessObject
GB_BusinessObject.MY_PROPERTY
 
Field Summary
 
Fields inherited from class com.loribel.commons.business.impl.bo.generated.GB_BOPropertyBOGen
BO_NAME
 
Constructor Summary
GB_BOPropertyBO()
           
GB_BOPropertyBO(java.lang.String a_name)
           
 
Method Summary
protected  java.lang.String appendToString()
           
 GB_BOEnumItemBO[] getBoEnumItemArray()
           
 GB_BOEnumValuesBO getBoEnumValuesNotNull()
          Returns the GB_BOEnumValuesBO associated to this property.
 GB_BOMetaDataBO getBoMetaDataParent()
           
 org.w3c.dom.Element getConfigNode()
          Returns the XML Node of the config.
 java.lang.String getDescription()
           
 java.lang.String getDescription(java.lang.String a_name, java.lang.String a_lng, boolean a_useDefault)
           
 java.lang.String[] getDEscriptionMNames()
           
 int getEnumItemCount()
           
 GB_BOEnumItem[] getEnumItems()
           
 GB_BOEnumValues getEnumValues()
           
 GB_BOExtensionBO getFirstExtensionByName(java.lang.String a_name)
           
 javax.swing.Icon getIcon()
          Getter for icon.
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 java.lang.String getLabel(java.lang.String a_name, java.lang.String a_lng, boolean a_useDefault)
           
 GB_LabelIcon getLabelIcon()
          Return a GB_LabelIcon.
 java.lang.String getLabelInfo()
          Returns String to document object, use into wait dialog for example.
 java.lang.String[] getLabelMNames()
           
 GB_BOProperty getPropertyBase()
           
 java.lang.String getPropertyId()
           
 void setDescription(java.lang.String a_name, java.lang.String a_lng, java.lang.String a_value)
           
 void setLabel(java.lang.String a_name, java.lang.String a_lng, java.lang.String a_value)
           
 void setPropertyOrigin(GB_BOProperty a_propertyOrigin)
           
 void sortEnumItemsByIndex()
           
 
Methods inherited from class com.loribel.commons.business.impl.bo.generated.GB_BOPropertyBOGen
accept, addConfiguredBoEnumValues, addConfiguredExtension, addExtension, getAccelerator, getBoEnumValues, getBoType, getDefaultValue, getDeprecatedMsg, getDescriptionM, getDescriptionMMap, getDisplayFormat, getEditFormat, getEditorName, getEditRegex, getExtension, getExtensionArray, getExtensionCount, getGroupName, getHelpFilename, getHistoryId, getIcon, getIconMap, getIndex, getLabelM, getLabelMMap, getMaxSize, getMaxValue, getMinSize, getMinValue, getName, getParameter, getParameterMap, getPersistenceXml, getPreferredSize, getPropertyIdLink, getRefId, getRevelant, getSemantic, getStyle, getSuggestedMaxValue, getSuggestedMinValue, getSuggestedValue, getTs, getType, getUnit, getValidationRegex, isAutoValidation, isBusinessObject, isCalculated, isEnumeration, isGroup, isLabel, isLineWrap, isNotUse, isOptional, isPassword, isPersistent, isPropertyMap, isPropertyMulti, isReadOnly, isScrollable, isVisible, newBOPrototype, putDescriptionM, putIcon, putLabelM, putParameter, removeAllDescriptionM, removeAllExtension, removeAllIcon, removeAllLabelM, removeAllParameter, removeDescriptionM, removeExtension, removeIcon, removeLabelM, removeParameter, setAccelerator, setAutoValidation, setBoEnumValues, setBoType, setBusinessObject, setCalculated, setDefaultValue, setDeprecatedMsg, setDisplayFormat, setEditFormat, setEditorName, setEditRegex, setEnumeration, setGroup, setGroupName, setHelpFilename, setHistoryId, setIndex, setLabel, setLineWrap, setMaxSize, setMaxValue, setMinSize, setMinValue, setName, setNotUse, setOptional, setPassword, setPersistenceXml, setPersistent, setPreferredSize, setPropertyIdLink, setPropertyMap, setPropertyMulti, setReadOnly, setRefId, setRevelant, setScrollable, setSemantic, setStyle, setSuggestedMaxValue, setSuggestedMinValue, setSuggestedValue, setTs, setType, setUnit, setValidationRegex, setVisible
 
Methods inherited from class com.loribel.commons.business.GB_BusinessObjectDefault
addApplyPropertyChangeListener, addMyPropertyChangeListener, addMyPropertyChangeListener, addPropertyDependent, addPropertyValue, buildBOValueMap, buildPropertyMap, buildPropertyNames, doApply, doUpdate, fireEventFromBOValue, fireMyPropertyChange, getAllListeners, removeApplyPropertyChangeListener, removeMyPropertyChangeListener, removeMyPropertyChangeListener, removePropertyValue, setModified, setPropertyValue, toDebug, toDebugId, unregister
 
Methods inherited from class com.loribel.commons.business.GB_BusinessObjectAbstract
addAllPropertyValues, addPropertyValue, addPropertyValueMulti, addPropertyValueMulti, containsPropertyName, getBOName, getBoParent, getBOValue, getBOValueMap, getBOValueMulti, getBusinessObjectValueMap, getProperty, getPropertyArray, getPropertyCount, getPropertyMap, getPropertyNames, getPropertyValue, getPropertyValueIndex, getPropertyValueList, getPropertyValueMap, installMemento, isModified, newMemento, newMemento, putBOValue, putPropertyValueMap, removePropertyValueMap, setBOName, setBoParent, toString, updateWithDefaultValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_BOProperty
getBoType, getDefaultValue, getDeprecatedMsg, getDisplayFormat, getEditFormat, getEditorName, getEditRegex, getGroupName, getHistoryId, getMaxSize, getMaxValue, getMinSize, getMinValue, getPersistenceXml, getPreferredSize, getPropertyIdLink, getRefId, getRevelant, getSemantic, getStyle, getUnit, getValidationRegex, isAutoValidation, isGroup, isLabel, isLineWrap, isNotUse, isOptional, isPassword, isPropertyMap, isReadOnly, isScrollable, isVisible
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_BOPropertySimple
getType, isBusinessObject, isCalculated, isEnumeration, isPersistent, isPropertyMulti
 
Methods inherited from interface com.loribel.commons.abstraction.GB_IndexOwner
getIndex
 
Methods inherited from interface com.loribel.commons.abstraction.GB_NameOwner
getName
 
Methods inherited from interface com.loribel.commons.abstraction.GB_IconsOwner
getIcon
 
Methods inherited from interface com.loribel.commons.abstraction.GB_TsOwner
getTs
 
Methods inherited from interface com.loribel.commons.abstraction.GB_TypeOwnerSet
setType
 
Methods inherited from interface com.loribel.commons.business.metamodel.GB_BOLabelsMOwner
getLabelM, putLabelM
 
Methods inherited from interface com.loribel.commons.business.metamodel.GB_BODescriptionsMOwner
getDescriptionM, putDescriptionM
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_BusinessObject
doApply, doUpdate
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_SimpleBusinessObjectSet
addPropertyValue, putPropertyValueMap, removePropertyValue, removePropertyValueMap, setModified, setPropertyValue
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_SimpleBusinessObject
getBOName, getProperty, getPropertyNames, getPropertyValue, isModified
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_BOParentOwner
getBoParent
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_BOParentOwnerSet
setBoParent
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_BOValueOwner
getBOValue
 
Methods inherited from interface com.loribel.commons.abstraction.GB_MementoCompliant
installMemento, newMemento
 
Methods inherited from interface com.loribel.commons.abstraction.GB_MyPropertyOwner
addMyPropertyChangeListener, addMyPropertyChangeListener, removeMyPropertyChangeListener, removeMyPropertyChangeListener
 

Constructor Detail

GB_BOPropertyBO

public GB_BOPropertyBO()

GB_BOPropertyBO

public GB_BOPropertyBO(java.lang.String a_name)
Method Detail

appendToString

protected java.lang.String appendToString()
Overrides:
appendToString in class GB_BusinessObjectAbstract

getBoEnumItemArray

public GB_BOEnumItemBO[] getBoEnumItemArray()

getBoEnumValuesNotNull

public GB_BOEnumValuesBO getBoEnumValuesNotNull()
Returns the GB_BOEnumValuesBO associated to this property. If null, create an instance of GB_BOEnumValuesBO, associate it to this property and returns it.


getBoMetaDataParent

public GB_BOMetaDataBO getBoMetaDataParent()

getConfigNode

public org.w3c.dom.Element getConfigNode()
Description copied from interface: GB_NodeConfigOwner
Returns the XML Node of the config.

Specified by:
getConfigNode in interface GB_NodeConfigOwner

getDescription

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

getDescription

public java.lang.String getDescription(java.lang.String a_name,
                                       java.lang.String a_lng,
                                       boolean a_useDefault)
Specified by:
getDescription in interface GB_LabelsDescOwner

getDEscriptionMNames

public final java.lang.String[] getDEscriptionMNames()

getEnumItemCount

public int getEnumItemCount()
Specified by:
getEnumItemCount in interface GB_BOProperty

getEnumItems

public GB_BOEnumItem[] getEnumItems()
Specified by:
getEnumItems in interface GB_BOPropertySimple

getEnumValues

public GB_BOEnumValues getEnumValues()
Specified by:
getEnumValues in interface GB_BOProperty

getFirstExtensionByName

public GB_BOExtensionBO getFirstExtensionByName(java.lang.String a_name)

getIcon

public javax.swing.Icon getIcon()
Description copied from interface: GB_BOProperty
Getter for icon.

Specified by:
getIcon in interface GB_BOProperty

getId

public java.lang.String getId()
Specified by:
getId in interface GB_IdOwner

getLabel

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

getLabel

public java.lang.String getLabel(java.lang.String a_name,
                                 java.lang.String a_lng,
                                 boolean a_useDefault)
Specified by:
getLabel in interface GB_LabelsDescOwner

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

getLabelInfo

public java.lang.String getLabelInfo()
Description copied from interface: GB_LabelInfoOwner
Returns String to document object, use into wait dialog for example.

Specified by:
getLabelInfo in interface GB_LabelInfoOwner
Overrides:
getLabelInfo in class GB_BusinessObjectAbstract

getLabelMNames

public final java.lang.String[] getLabelMNames()

getPropertyId

public java.lang.String getPropertyId()

getPropertyBase

public GB_BOProperty getPropertyBase()
Specified by:
getPropertyBase in interface GB_BOProperty

setDescription

public void setDescription(java.lang.String a_name,
                           java.lang.String a_lng,
                           java.lang.String a_value)

setLabel

public void setLabel(java.lang.String a_name,
                     java.lang.String a_lng,
                     java.lang.String a_value)

setPropertyOrigin

public void setPropertyOrigin(GB_BOProperty a_propertyOrigin)

sortEnumItemsByIndex

public void sortEnumItemsByIndex()


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