|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.data.cog.CogDatatype
com.partnersoft.data.cog.CogPrimitiveType
public class CogPrimitiveType
This represents the metadata for a primitive Cog field.
| Constructor Summary | |
|---|---|
CogPrimitiveType()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createValue(CogDataDictionary dataDictionary)
Create a new Cog that fits this datatype, with appropriate defaults, etc. |
java.util.Set |
getAvailableValues()
If the field represents an enumerated type, this is the list of values. |
java.lang.String |
getControlType()
Abstract name for the kind of control used to edit or view the value. |
java.lang.String |
getDefaultValue()
Default value for the field. |
java.lang.String |
getStorageType()
Abstract type that defines how the contents are stored, e.g. |
void |
setAvailableValues(java.util.Set argAvailableValues)
|
void |
setControlType(java.lang.String argControlType)
|
void |
setDefaultValue(java.lang.String argDefaultValue)
|
void |
setStorageType(java.lang.String argStorageType)
|
| 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 |
|---|
public CogPrimitiveType()
| Method Detail |
|---|
public java.lang.Object createValue(CogDataDictionary dataDictionary)
CogDatatype
createValue in class CogDatatypepublic java.lang.String getStorageType()
public void setStorageType(java.lang.String argStorageType)
public java.lang.String getControlType()
public void setControlType(java.lang.String argControlType)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String argDefaultValue)
public java.util.Set getAvailableValues()
public void setAvailableValues(java.util.Set argAvailableValues)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||