public class CogCollectionType extends AbstractCogType
Cogs.
Copyright 2005-2009 Partner Software, Inc.
| Constructor and Description |
|---|
CogCollectionType(Cog state) |
CogCollectionType(java.lang.String name,
java.lang.String className,
java.lang.String controlType,
Cog prototype,
boolean sorted,
boolean uniquelyNamed,
java.lang.String contentType) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanStructureOf(Cog node)
Cleans the given node structure as best as it can based on available
information.
|
CogCollectionType |
createParameterizedType(java.lang.String contentType)
Creates a new parameterized type from this base type, by copying the
state from this type and setting the contentType to the specified type
name.
|
java.lang.String |
getContentType() |
boolean |
isSorted() |
boolean |
isUniquelyNamed() |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
java.util.List<CogValidationException> |
validate(Cog node)
Validates the given node structure as best it can.
|
buildForm, buildFormField, createNode, getControlName, getControlScript, getControlScriptPath, getJavaClassName, getName, getPrototype, runControlScript, setControlName, setControlScript, setControlScriptPath, setJavaClassName, setName, setPrototype, toStringpublic CogCollectionType(Cog state)
public CogCollectionType(java.lang.String name,
java.lang.String className,
java.lang.String controlType,
Cog prototype,
boolean sorted,
boolean uniquelyNamed,
java.lang.String contentType)
public CogCollectionType createParameterizedType(java.lang.String contentType)
public void cleanStructureOf(Cog node)
CogTypepublic java.util.List<CogValidationException> validate(Cog node)
CogTypevalidate in interface CogTypevalidate in class AbstractCogTypenode - node to validatepublic Cog toCog()
CoggableCog.toCog in interface CoggabletoCog in class AbstractCogTypepublic boolean isSorted()
public boolean isUniquelyNamed()
public java.lang.String getContentType()