Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.metadata
Class CfgDescriptionAttributePrimitive<T>

java.lang.Object
  extended by com.genesyslab.platform.configuration.protocol.metadata.CfgDescription
      extended by com.genesyslab.platform.configuration.protocol.metadata.CfgDescriptionAttribute
          extended by com.genesyslab.platform.configuration.protocol.metadata.CfgDescriptionAttributePrimitive<T>
Type Parameters:
T - may be of the following types:
All Implemented Interfaces:
ICfgEnum<CfgObjectProperty>
Direct Known Subclasses:
CfgDescriptionAttributeInteger, CfgDescriptionAttributeString

public abstract class CfgDescriptionAttributePrimitive<T>
extends CfgDescriptionAttribute

CfgDescriptionAttributePrimitive<T> abstract class is the base descriptive class for configuration protocol primitive attributes. CfgDescriptionAttributePrimitive<T> class is derived from CfgDescriptionAttribute class.

CfgDescriptionAttributePrimitive<T> is the base class for the following kinds of primitive attribute descriptive classes:

See Also:
CfgDescriptionAttributeInteger, CfgDescriptionAttributeString, CfgDescriptionAttributeReferenceLink, CfgDescriptionAttributeEnumItem

Field Summary
static java.lang.String NoDefaultValueString
           
 
Fields inherited from class com.genesyslab.platform.configuration.protocol.metadata.CfgDescription
baseComparer
 
Method Summary
abstract  T getDefaultValue()
          Gets default value for a primitive attribute.
abstract  T getGenericDefaultValue()
           
abstract  T getPrimitiveValue(org.w3c.dom.Element parentElement)
          Deprecated. 
 java.lang.Object getValue(org.w3c.dom.Element parentElement)
          Deprecated. 
protected  java.lang.String getValueAttributeValue(org.w3c.dom.Element parentElement)
          Deprecated. 
abstract  boolean hasDefaultValue()
          Indicates if a particular primitive attribute has a predefined default value.
protected  void setTypeMask()
          Sets type mask for descriptive object.
 
Methods inherited from class com.genesyslab.platform.configuration.protocol.metadata.CfgDescriptionAttribute
getCfgEnum, getConst, getMappingName, getOperation, getPackName, getParent, getSchemaName, isKey, isPackCustom, isUnpackCustom, setComparer
 
Methods inherited from class com.genesyslab.platform.configuration.protocol.metadata.CfgDescription
addTypeToMask, getComparer, getIndex, getLocalizedName, getName, getNameComparer, getProtocolVersion, getTypeBitMask, getTypeMask, getTypeMaskString, isCfgType, isCfgType, isCfgType, setComparer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NoDefaultValueString

public static final java.lang.String NoDefaultValueString
See Also:
Constant Field Values
Method Detail

hasDefaultValue

public abstract boolean hasDefaultValue()
Indicates if a particular primitive attribute has a predefined default value.


getDefaultValue

public abstract T getDefaultValue()
Gets default value for a primitive attribute. Returns T, where T may be one of the following types: Throws UnsupportedOperationException exception if there is no predefined default value.

See Also:
CfgDescriptionAttributeInteger, CfgDescriptionAttributeString, CfgDescriptionAttributeReferenceLink, CfgDescriptionAttributeEnumItem, hasDefaultValue(), UnsupportedOperationException

getGenericDefaultValue

public abstract T getGenericDefaultValue()

getPrimitiveValue

@Deprecated
public abstract T getPrimitiveValue(org.w3c.dom.Element parentElement)
Deprecated. 


getValue

@Deprecated
public java.lang.Object getValue(org.w3c.dom.Element parentElement)
Deprecated. 

Specified by:
getValue in class CfgDescriptionAttribute

getValueAttributeValue

@Deprecated
protected java.lang.String getValueAttributeValue(org.w3c.dom.Element parentElement)
Deprecated. 


setTypeMask

protected void setTypeMask()
Description copied from class: CfgDescription
Sets type mask for descriptive object.

Overrides:
setTypeMask in class CfgDescriptionAttribute

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.