|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.cog.AbstractCogType
public abstract class AbstractCogType
A generic implementation of CogType that takes care of a few minor
details for you.
Subclasses must call the superclass versions when implementing
the Coggable methods.
Copyright 2006-2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
AbstractCogType(Cog state)
|
|
AbstractCogType(java.lang.String name,
java.lang.String javaClassName,
java.lang.String controlName,
Cog prototype)
|
|
| Method Summary | |
|---|---|
Cog |
createNode()
Creates a new node of this type. |
java.lang.String |
getControlName()
Name of GUI or web control to use to edit this type. |
java.lang.String |
getJavaClassName()
Name of Java class associated with this type. |
java.lang.String |
getName()
Name of the type, used for lookups in an CogSchema. |
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
java.lang.String |
toString()
|
java.util.List<CogValidationException> |
validate(Cog node)
Validates the given node structure as best it can. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.partnersoft.cog.CogType |
|---|
cleanStructureOf |
| Constructor Detail |
|---|
public AbstractCogType(Cog state)
public AbstractCogType(java.lang.String name,
java.lang.String javaClassName,
java.lang.String controlName,
Cog prototype)
| Method Detail |
|---|
public Cog toCog()
CoggableCog.
toCog in interface Coggablepublic java.util.List<CogValidationException> validate(Cog node)
CogType
validate in interface CogTypenode - node to validatepublic Cog createNode()
CogType
createNode in interface CogTypepublic java.lang.String getName()
CogTypeCogSchema.
getName in interface CogTypepublic java.lang.String getJavaClassName()
CogType
getJavaClassName in interface CogTypeCoggablepublic java.lang.String getControlName()
CogType
getControlName in interface CogTypeCoggablepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||