com.ptc.netmarkets.model
Class NmSoftAttribute

java.lang.Object
  extended bycom.ptc.netmarkets.util.misc.NmModel
      extended bycom.ptc.netmarkets.model.NmSoftAttribute
All Implemented Interfaces:
Externalizable, Serializable

public class NmSoftAttribute
extends NmModel
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  ArrayList attributeIdentifiers
           
private static String CLASSNAME
           
private  com.objectspace.jgl.HashMap constraints
           
private  boolean create
           
private  ArrayList dataTypes
           
private  boolean excludeImmutable
           
static long EXTERNALIZATION_VERSION_UID
           
private  ArrayList inputFields
           
private  ArrayList labels
           
private  Locale locale
           
private  ArrayList localizedDisplayNames
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  String type
           
private  String typeInstanceIdentifierString
           
private  ArrayList values
           
 
Fields inherited from class com.ptc.netmarkets.util.misc.NmModel
 
Constructor Summary
NmSoftAttribute()
           
 
Method Summary
 ArrayList getAttributeIdentifiers()
          Gets the value of the attribute: attributeIdentifiers.
protected  com.objectspace.jgl.HashMap getConstraints()
          Gets the value of the attribute: constraints.
 ArrayList getDataTypes()
          Gets the value of the attribute: dataTypes.
 ArrayList getInputFields()
          Gets the value of the attribute: inputFields.
 ArrayList getLabels()
          Gets the value of the attribute: labels.
 Locale getLocale()
          Gets the value of the attribute: locale.
protected  ArrayList getLocalizedDisplayNames()
          Gets the value of the attribute: localizedDisplayNames.
 String getType()
          Gets the value of the attribute: type.
protected  String getTypeInstanceIdentifierString()
          Gets the value of the attribute: typeInstanceIdentifierString.
protected  ArrayList getValues()
          Gets the value of the attribute: values.
 boolean isCreate()
          Gets the value of the attribute: create.
 boolean isExcludeImmutable()
          Gets the value of the attribute: excludeImmutable.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(NmSoftAttribute thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setAttributeIdentifiers(ArrayList a_AttributeIdentifiers)
          Sets the value of the attribute: attributeIdentifiers.
protected  void setConstraints(com.objectspace.jgl.HashMap a_Constraints)
          Sets the value of the attribute: constraints.
 void setCreate(boolean a_Create)
          Sets the value of the attribute: create.
 void setDataTypes(ArrayList a_DataTypes)
          Sets the value of the attribute: dataTypes.
 void setExcludeImmutable(boolean a_ExcludeImmutable)
          Sets the value of the attribute: excludeImmutable.
 void setInputFields(ArrayList a_InputFields)
          Sets the value of the attribute: inputFields.
 void setLabels(ArrayList a_Labels)
          Sets the value of the attribute: labels.
 void setLocale(Locale a_Locale)
          Sets the value of the attribute: locale.
protected  void setLocalizedDisplayNames(ArrayList a_LocalizedDisplayNames)
          Sets the value of the attribute: localizedDisplayNames.
 void setType(String a_Type)
          Sets the value of the attribute: type.
protected  void setTypeInstanceIdentifierString(String a_TypeInstanceIdentifierString)
          Sets the value of the attribute: typeInstanceIdentifierString.
protected  void setValues(ArrayList a_Values)
          Sets the value of the attribute: values.
private  void typeInstanceIdentifierStringValidate(String a_TypeInstanceIdentifierString)
           
private  void typeValidate(String a_Type)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class com.ptc.netmarkets.util.misc.NmModel
getLastUpdate, getMessage, getModel, getNonSelectableRows, getRowStyles, getRowSytle, getViewMode, isCollapseable, isNonSelectableRow, readVersion, setCollapseable, setLastUpdate, setMessage, setNonSelectableRow, setNonSelectableRows, setRowStyles, setRowSytle, setViewMode, updateModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

attributeIdentifiers

private ArrayList attributeIdentifiers

dataTypes

private ArrayList dataTypes

inputFields

private ArrayList inputFields

labels

private ArrayList labels

locale

private Locale locale

create

private boolean create

excludeImmutable

private boolean excludeImmutable

type

private String type

constraints

private com.objectspace.jgl.HashMap constraints

localizedDisplayNames

private ArrayList localizedDisplayNames

typeInstanceIdentifierString

private String typeInstanceIdentifierString

values

private ArrayList values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

NmSoftAttribute

public NmSoftAttribute()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class NmModel
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class NmModel
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(NmSoftAttribute thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getAttributeIdentifiers

public ArrayList getAttributeIdentifiers()
Gets the value of the attribute: attributeIdentifiers.

Supported API: false

Returns:
ArrayList

setAttributeIdentifiers

public void setAttributeIdentifiers(ArrayList a_AttributeIdentifiers)
                             throws WTPropertyVetoException
Sets the value of the attribute: attributeIdentifiers.

Supported API: false

Parameters:
a_AttributeIdentifiers -
Throws:
WTPropertyVetoException

getDataTypes

public ArrayList getDataTypes()
Gets the value of the attribute: dataTypes.

Supported API: false

Returns:
ArrayList

setDataTypes

public void setDataTypes(ArrayList a_DataTypes)
                  throws WTPropertyVetoException
Sets the value of the attribute: dataTypes.

Supported API: false

Parameters:
a_DataTypes -
Throws:
WTPropertyVetoException

getInputFields

public ArrayList getInputFields()
Gets the value of the attribute: inputFields.

Supported API: false

Returns:
ArrayList

setInputFields

public void setInputFields(ArrayList a_InputFields)
                    throws WTPropertyVetoException
Sets the value of the attribute: inputFields.

Supported API: false

Parameters:
a_InputFields -
Throws:
WTPropertyVetoException

getLabels

public ArrayList getLabels()
Gets the value of the attribute: labels.

Supported API: false

Returns:
ArrayList

setLabels

public void setLabels(ArrayList a_Labels)
               throws WTPropertyVetoException
Sets the value of the attribute: labels.

Supported API: false

Parameters:
a_Labels -
Throws:
WTPropertyVetoException

getLocale

public Locale getLocale()
Gets the value of the attribute: locale.

Supported API: false

Returns:
Locale

setLocale

public void setLocale(Locale a_Locale)
               throws WTPropertyVetoException
Sets the value of the attribute: locale.

Supported API: false

Parameters:
a_Locale -
Throws:
WTPropertyVetoException

isCreate

public boolean isCreate()
Gets the value of the attribute: create.

Supported API: false

Returns:
boolean

setCreate

public void setCreate(boolean a_Create)
               throws WTPropertyVetoException
Sets the value of the attribute: create.

Supported API: false

Parameters:
a_Create -
Throws:
WTPropertyVetoException

isExcludeImmutable

public boolean isExcludeImmutable()
Gets the value of the attribute: excludeImmutable.

Supported API: false

Returns:
boolean

setExcludeImmutable

public void setExcludeImmutable(boolean a_ExcludeImmutable)
                         throws WTPropertyVetoException
Sets the value of the attribute: excludeImmutable.

Supported API: false

Parameters:
a_ExcludeImmutable -
Throws:
WTPropertyVetoException

getType

public String getType()
Gets the value of the attribute: type.

Supported API: false

Returns:
String

setType

public void setType(String a_Type)
             throws WTPropertyVetoException
Sets the value of the attribute: type.

Supported API: false

Parameters:
a_Type -
Throws:
WTPropertyVetoException

typeValidate

private void typeValidate(String a_Type)
                   throws WTPropertyVetoException
Parameters:
a_Type -
Throws:
WTPropertyVetoException

getConstraints

protected com.objectspace.jgl.HashMap getConstraints()
Gets the value of the attribute: constraints.

Supported API: false

Returns:
HashMap

setConstraints

protected void setConstraints(com.objectspace.jgl.HashMap a_Constraints)
                       throws WTPropertyVetoException
Sets the value of the attribute: constraints.

Supported API: false

Parameters:
a_Constraints -
Throws:
WTPropertyVetoException

getLocalizedDisplayNames

protected ArrayList getLocalizedDisplayNames()
Gets the value of the attribute: localizedDisplayNames.

Supported API: false

Returns:
ArrayList

setLocalizedDisplayNames

protected void setLocalizedDisplayNames(ArrayList a_LocalizedDisplayNames)
                                 throws WTPropertyVetoException
Sets the value of the attribute: localizedDisplayNames.

Supported API: false

Parameters:
a_LocalizedDisplayNames -
Throws:
WTPropertyVetoException

getTypeInstanceIdentifierString

protected String getTypeInstanceIdentifierString()
Gets the value of the attribute: typeInstanceIdentifierString.

Supported API: false

Returns:
String

setTypeInstanceIdentifierString

protected void setTypeInstanceIdentifierString(String a_TypeInstanceIdentifierString)
                                        throws WTPropertyVetoException
Sets the value of the attribute: typeInstanceIdentifierString.

Supported API: false

Parameters:
a_TypeInstanceIdentifierString -
Throws:
WTPropertyVetoException

typeInstanceIdentifierStringValidate

private void typeInstanceIdentifierStringValidate(String a_TypeInstanceIdentifierString)
                                           throws WTPropertyVetoException
Parameters:
a_TypeInstanceIdentifierString -
Throws:
WTPropertyVetoException

getValues

protected ArrayList getValues()
Gets the value of the attribute: values.

Supported API: false

Returns:
ArrayList

setValues

protected void setValues(ArrayList a_Values)
                  throws WTPropertyVetoException
Sets the value of the attribute: values.

Supported API: false

Parameters:
a_Values -
Throws:
WTPropertyVetoException