com.loribel.commons.business.abstraction
Interface GB_BOProperty

All Superinterfaces:
GB_BOPropertySimple, GB_IconsOwner, GB_IndexOwner, GB_LabelIconOwner, GB_LabelInfoOwner, GB_LabelsDescOwner, GB_NameOwner, GB_NodeConfigOwner, GB_TsOwner, GB_TypeOwner
All Known Subinterfaces:
GB_BOPropertySet
All Known Implementing Classes:
GB_BOPropertyBO, GB_BOPropertyNode, GB_BOPropertyRef

public interface GB_BOProperty
extends GB_BOPropertySimple, GB_LabelsDescOwner, GB_TsOwner, GB_LabelInfoOwner

Abstraction of property for BusinessObject.

Author:
Gregory Borelli
See Also:
GB_BOPropertyTools

Nested Class Summary
static class GB_BOProperty.PERSISTENCE_XML
          Values for property semantic.
static class GB_BOProperty.SEMANTIC
          Values for property semantic.
 
Method Summary
 java.lang.String getBoType()
           
 java.lang.Object getDefaultValue()
          Getter for defaultValue.
 java.lang.String getDeprecatedMsg()
           
 java.lang.String getDisplayFormat()
          Getter for displayFormat.
 java.lang.String getEditFormat()
          Getter for editFormat.
 java.lang.String getEditorName()
          Returns a name of the editor.
 java.lang.String getEditRegex()
          Getter for editRegex.
 int getEnumItemCount()
           
 GB_BOEnumValues getEnumValues()
           
 java.lang.String getGroupName()
          Getter for groupName.
 java.lang.String getHistoryId()
          Returns the historyId.
 javax.swing.Icon getIcon()
          Getter for icon.
 int getMaxSize()
          Getter for maxSize.
 java.lang.Object getMaxValue()
          Getter for maxValue.
 int getMinSize()
          Getter for minSize.
 java.lang.Object getMinValue()
          Getter for minValue.
 int getPersistenceXml()
           
 int getPreferredSize()
          Returns the number to use to build preferred size.
 GB_BOProperty getPropertyBase()
           
 java.lang.String getPropertyIdLink()
           
 java.lang.String getRefId()
          Returns the ref id (BOName.propertyName) if the property is defined by reference.
 java.lang.String getRevelant()
           
 java.lang.String getSemantic()
          Returns the semantics of the property.
 java.lang.String getStyle()
           
 java.lang.String getUnit()
          Getter for unit.
 java.lang.String getValidationRegex()
          Getter for validationRegex.
 boolean isAutoValidation()
           
 boolean isGroup()
          Getter for flagGroup.
 boolean isLabel()
           
 boolean isLineWrap()
          Getter for flagLineWrap.
 boolean isNotUse()
          Getter for flagNotUse.
 boolean isOptional()
          Getter for flagOptional.
 boolean isPassword()
          Getter for flagPassword.
 boolean isPropertyMap()
          Getter for flagPropertyMap.
 boolean isReadOnly()
          Getter for flagReadOnly.
 boolean isScrollable()
          Getter for flagScrollable.
 boolean isVisible()
          Getter for flagVisible.
 
Methods inherited from interface com.loribel.commons.business.abstraction.GB_BOPropertySimple
getDescription, getEnumItems, getLabel, getType, isBusinessObject, isCalculated, isEnumeration, isPersistent, isPropertyMulti
 
Methods inherited from interface com.loribel.commons.abstraction.GB_NodeConfigOwner
getConfigNode
 
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_LabelIconOwner
getLabelIcon
 
Methods inherited from interface com.loribel.commons.abstraction.GB_LabelsDescOwner
getDescription, getLabel
 
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_LabelInfoOwner
getLabelInfo
 

Method Detail

getBoType

public java.lang.String getBoType()

getDefaultValue

public java.lang.Object getDefaultValue()
Getter for defaultValue.


getDeprecatedMsg

public java.lang.String getDeprecatedMsg()

getDisplayFormat

public java.lang.String getDisplayFormat()
Getter for displayFormat.


getEditFormat

public java.lang.String getEditFormat()
Getter for editFormat.


getEditorName

public java.lang.String getEditorName()
Returns a name of the editor.


getEditRegex

public java.lang.String getEditRegex()
Getter for editRegex.


getEnumItemCount

public int getEnumItemCount()

getEnumValues

public GB_BOEnumValues getEnumValues()

getGroupName

public java.lang.String getGroupName()
Getter for groupName.


getHistoryId

public java.lang.String getHistoryId()
Returns the historyId.


getIcon

public javax.swing.Icon getIcon()
Getter for icon.


getMaxSize

public int getMaxSize()
Getter for maxSize.


getMaxValue

public java.lang.Object getMaxValue()
Getter for maxValue.


getMinSize

public int getMinSize()
Getter for minSize.


getMinValue

public java.lang.Object getMinValue()
Getter for minValue.


getPersistenceXml

public int getPersistenceXml()

getPreferredSize

public int getPreferredSize()
Returns the number to use to build preferred size. The number can be the number of characters, the number of rows, ... The value -1 == value not used.


getPropertyIdLink

public java.lang.String getPropertyIdLink()

getRefId

public java.lang.String getRefId()
Returns the ref id (BOName.propertyName) if the property is defined by reference.


getRevelant

public java.lang.String getRevelant()

getSemantic

public java.lang.String getSemantic()
Returns the semantics of the property.


getStyle

public java.lang.String getStyle()

getUnit

public java.lang.String getUnit()
Getter for unit.


getValidationRegex

public java.lang.String getValidationRegex()
Getter for validationRegex.


isAutoValidation

public boolean isAutoValidation()

isGroup

public boolean isGroup()
Getter for flagGroup.


isLabel

public boolean isLabel()

isLineWrap

public boolean isLineWrap()
Getter for flagLineWrap.


isNotUse

public boolean isNotUse()
Getter for flagNotUse.


isOptional

public boolean isOptional()
Getter for flagOptional.


isPassword

public boolean isPassword()
Getter for flagPassword.


isPropertyMap

public boolean isPropertyMap()
Getter for flagPropertyMap.


isReadOnly

public boolean isReadOnly()
Getter for flagReadOnly.


isScrollable

public boolean isScrollable()
Getter for flagScrollable.


isVisible

public boolean isVisible()
Getter for flagVisible.


getPropertyBase

public GB_BOProperty getPropertyBase()


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