public class DefaultDynClass extends Object implements DynClass_v2
Modifier and Type | Class and Description |
---|---|
static class |
DefaultDynClass.CheckDynClassListException |
class |
DefaultDynClass.FieldAndIndex |
class |
DefaultDynClass.MethodAndIndex |
Constructor and Description |
---|
DefaultDynClass(DynObjectManager manager,
DynClassName name,
String description) |
DefaultDynClass(DynObjectManager manager,
String name,
String description) |
DefaultDynClass(DynObjectManager manager,
String name,
String description,
DynClass[] superClases) |
DefaultDynClass(DynObjectManager manager,
String namespace,
String name,
String description) |
DefaultDynClass(String name) |
public DefaultDynClass(String name)
public DefaultDynClass(DynObjectManager manager, String name, String description)
public DefaultDynClass(DynObjectManager manager, String namespace, String name, String description)
public DefaultDynClass(DynObjectManager manager, DynClassName name, String description)
public DefaultDynClass(DynObjectManager manager, String name, String description, DynClass[] superClases)
public void setName(DynClassName name)
public String getNamespace()
getNamespace
in interface DynStruct
public String getFullName()
getFullName
in interface DynStruct
public DynObjectManager getManager()
public Script getScript()
getScript
in interface DynClass_v2
public void setScript(Script script)
setScript
in interface DynClass_v2
public void consolide()
public void extendAll(String[] structNames)
public int getFieldIndex(String name)
public DynField getDeclaredDynField(String name)
getDeclaredDynField
in interface DynStruct
public DynField[] getDeclaredDynFields()
getDeclaredDynFields
in interface DynStruct
public String getDescription()
getDescription
in interface DynStruct
public DynField getDynField(String name)
getDynField
in interface DynStruct
public DefaultDynClass.FieldAndIndex getDynFieldAndIndex(String name)
public DynField[] getDynFields()
getDynFields
in interface DynStruct
public DynField addDynField(String name)
addDynField
in interface DynStruct
public DynField addDynField(String name, int type)
addDynField
in interface DynStruct_v2
public DynClass[] getSuperDynClasses()
getSuperDynClasses
in interface DynClass
public DynStruct[] getSuperDynStructs()
getSuperDynStructs
in interface DynStruct
public DynObject newInstance()
newInstance
in interface DynStruct
public boolean isInstance(DynObject dynObject)
isInstance
in interface DynStruct
public void removeDynField(String name)
removeDynField
in interface DynStruct
public void setAnonymous(boolean isAnonymous)
public boolean isAnonymous()
public void addDynMethod(DynMethod dynMethod)
addDynMethod
in interface DynClass
public DynMethod getDeclaredDynMethod(String name)
getDeclaredDynMethod
in interface DynClass
public DynMethod[] getDeclaredDynMethods()
getDeclaredDynMethods
in interface DynClass
public DynMethod getDynMethod(String name) throws DynMethodException
getDynMethod
in interface DynClass
DynMethodException
public DynMethod getDynMethod(int code) throws DynMethodException
getDynMethod
in interface DynClass
DynMethodException
public DynMethod[] getDynMethods()
getDynMethods
in interface DynClass
public void removeDynMethod(String name)
removeDynMethod
in interface DynClass
public void validate(DynObject object) throws DynObjectValidateException
validate
in interface DynStruct
DynObjectValidateException
public DynField addDynFieldString(String name)
addDynFieldString
in interface DynStruct
public DynField addDynFieldDate(String name)
addDynFieldDate
in interface DynStruct
public DynField addDynFieldInt(String name)
addDynFieldInt
in interface DynStruct
public DynField addDynFieldLong(String name)
addDynFieldLong
in interface DynStruct
public DynField addDynFieldDouble(String name)
addDynFieldDouble
in interface DynStruct
public DynField addDynFieldFloat(String name)
addDynFieldFloat
in interface DynStruct
public DynField addDynFieldBoolean(String name)
addDynFieldBoolean
in interface DynStruct
public DynField addDynFieldFolder(String name)
addDynFieldFolder
in interface DynStruct
public DynField addDynFieldFile(String name)
addDynFieldFile
in interface DynStruct
public DynField addDynFieldURL(String name)
addDynFieldURL
in interface DynStruct
public DynField addDynFieldURI(String name)
addDynFieldURI
in interface DynStruct
public DynField addDynFieldArray(String name)
addDynFieldArray
in interface DynStruct
public DynField addDynFieldObject(String name)
addDynFieldObject
in interface DynStruct
public DynField addDynFieldChoice(String name, int type, Object defaultValue, DynObjectValueItem[] values)
addDynFieldChoice
in interface DynStruct
#addDynFieldChoice(String)
public DynField addDynFieldChoice(String name, int type, Object defaultValue, DynObjectValueItem[] values, boolean mandatory, boolean persistent)
addDynFieldChoice
in interface DynStruct
#addDynFieldChoice(String)
public DynField addDynFieldRange(String name, int type, Object defaultValue, Object min, Object max)
addDynFieldRange
in interface DynStruct
#addDynFieldRange(String)
public DynField addDynFieldRange(String name, int type, Object defaultValue, Object min, Object max, boolean mandatory, boolean persistent)
addDynFieldRange
in interface DynStruct
#addDynFieldRange(String)
public DynField addDynFieldSingle(String name, int type, Object defaultValue)
addDynFieldSingle
in interface DynStruct
DynStruct.addDynFieldString(String)
public DynField addDynFieldSingle(String name, int type, Object defaultValue, boolean mandatory, boolean persistent)
addDynFieldSingle
in interface DynStruct
DynStruct.addDynFieldString(String)
public DynField addDynFieldList(String name)
addDynFieldList
in interface DynStruct
public DynField addDynFieldMap(String name)
addDynFieldMap
in interface DynStruct
public DynField addDynFieldSet(String name)
addDynFieldSet
in interface DynStruct
public void setDescription(String description)
setDescription
in interface DynStruct
public void setNamespace(String namespace)
setNamespace
in interface DynStruct
public void check() throws ListBaseException
ListBaseException
public boolean isExtendable(DynStruct dynStruct)
isExtendable
in interface DynStruct
public void remove(DynStruct superDynStruct)
DynStruct
public void removeAll(DynStruct[] superDynStruct)
public void extend(DynStruct[] structs)
public Tags getTags()
getTags
in interface DynStruct_v2
public String getLabel()
getLabel
in interface DynStruct_v2
public void setLabel(String label)
setLabel
in interface DynStruct_v2