com.partnersoft.data.cog
Class CogStructureTypeField

java.lang.Object
  extended by com.partnersoft.data.cog.CogDatatype
      extended by com.partnersoft.data.cog.CogStructureTypeField
All Implemented Interfaces:
java.lang.Comparable

public class CogStructureTypeField
extends CogDatatype

Description of a field in a CogStructureType.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

Constructor Summary
CogStructureTypeField()
           
 
Method Summary
 java.lang.Object createValue(CogDataDictionary dataDictionary)
          Create a new Cog that fits this datatype, with appropriate defaults, etc.
 java.lang.Object getDefaultValue()
           
 java.lang.String getValueType()
           
 void setDefaultValue(java.lang.Object newValue)
           
 void setValueType(java.lang.String newType)
           
 
Methods inherited from class com.partnersoft.data.cog.CogDatatype
compareTo, getCategory, getDescription, getLabel, getName, getOrder, getProperties, getReadOnlyGroups, getReadWriteGroups, getValidationRules, setCategory, setDescription, setLabel, setName, setOrder, setProperties, setReadOnlyGroups, setReadWriteGroups, setValidationRules, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CogStructureTypeField

public CogStructureTypeField()
Method Detail

createValue

public java.lang.Object createValue(CogDataDictionary dataDictionary)
Description copied from class: CogDatatype
Create a new Cog that fits this datatype, with appropriate defaults, etc. A data dictionary is provided for resolving datatypes of properties or contents.

Specified by:
createValue in class CogDatatype

getValueType

public java.lang.String getValueType()

setValueType

public void setValueType(java.lang.String newType)

getDefaultValue

public java.lang.Object getDefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.Object newValue)