public interface DynStruct
Modifier and Type | Method and Description |
---|---|
DynField |
addDynField(java.lang.String name) |
DynField |
addDynFieldArray(java.lang.String name) |
DynField |
addDynFieldBoolean(java.lang.String name) |
DynField |
addDynFieldChoice(java.lang.String name,
int type,
java.lang.Object defaultValue,
DynObjectValueItem[] values)
Deprecated.
to be removed in gvSIG 2.1.0
|
DynField |
addDynFieldChoice(java.lang.String name,
int type,
java.lang.Object defaultValue,
DynObjectValueItem[] values,
boolean mandatory,
boolean persistent)
Deprecated.
to be removed in gvSIG 2.1.0
|
DynField |
addDynFieldDate(java.lang.String name) |
DynField |
addDynFieldDouble(java.lang.String name) |
DynField |
addDynFieldFile(java.lang.String name) |
DynField |
addDynFieldFloat(java.lang.String name) |
DynField |
addDynFieldFolder(java.lang.String name) |
DynField |
addDynFieldInt(java.lang.String name) |
DynField |
addDynFieldList(java.lang.String name) |
DynField |
addDynFieldLong(java.lang.String name) |
DynField |
addDynFieldMap(java.lang.String name) |
DynField |
addDynFieldObject(java.lang.String name) |
DynField |
addDynFieldRange(java.lang.String name,
int type,
java.lang.Object defaultValue,
java.lang.Object min,
java.lang.Object max)
Deprecated.
to be removed in gvSIG 2.1.0
|
DynField |
addDynFieldRange(java.lang.String name,
int type,
java.lang.Object defaultValue,
java.lang.Object min,
java.lang.Object max,
boolean mandatory,
boolean persistent)
Deprecated.
to be removed in gvSIG 2.1.0
|
DynField |
addDynFieldSet(java.lang.String name) |
DynField |
addDynFieldSingle(java.lang.String name,
int type,
java.lang.Object defaultValue)
Deprecated.
to be removed in gvSIG 2.1.0
|
DynField |
addDynFieldSingle(java.lang.String name,
int type,
java.lang.Object defaultValue,
boolean mandatory,
boolean persistent)
Deprecated.
to be removed in gvSIG 2.1.0
|
DynField |
addDynFieldString(java.lang.String name) |
DynField |
addDynFieldURI(java.lang.String name) |
DynField |
addDynFieldURL(java.lang.String name) |
void |
extend(DynStruct struct) |
void |
extend(java.lang.String structName) |
void |
extend(java.lang.String namespace,
java.lang.String structName) |
DynField |
getDeclaredDynField(java.lang.String name) |
DynField[] |
getDeclaredDynFields() |
java.lang.String |
getDescription() |
DynField |
getDynField(java.lang.String name) |
DynField[] |
getDynFields() |
java.lang.String |
getFullName() |
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
DynStruct[] |
getSuperDynStructs() |
boolean |
isExtendable(DynStruct dynStruct) |
boolean |
isInstance(DynObject dynObject) |
DynObject |
newInstance() |
void |
remove(DynStruct superDynStruct)
Removes a given dynStruct from the current superDynClasses of this
dynClass.
|
void |
removeDynField(java.lang.String name) |
void |
setDescription(java.lang.String description) |
void |
setNamespace(java.lang.String namespace) |
void |
validate(DynObject object) |
java.lang.String getName()
java.lang.String getNamespace()
java.lang.String getFullName()
java.lang.String getDescription()
void setNamespace(java.lang.String namespace)
void setDescription(java.lang.String description)
DynField getDynField(java.lang.String name)
DynField getDeclaredDynField(java.lang.String name)
DynField[] getDynFields()
DynField[] getDeclaredDynFields()
DynField addDynField(java.lang.String name)
DynField addDynFieldBoolean(java.lang.String name)
DynField addDynFieldInt(java.lang.String name)
DynField addDynFieldLong(java.lang.String name)
DynField addDynFieldFloat(java.lang.String name)
DynField addDynFieldDouble(java.lang.String name)
DynField addDynFieldString(java.lang.String name)
DynField addDynFieldDate(java.lang.String name)
DynField addDynFieldList(java.lang.String name)
DynField addDynFieldArray(java.lang.String name)
DynField addDynFieldMap(java.lang.String name)
DynField addDynFieldSet(java.lang.String name)
DynField addDynFieldObject(java.lang.String name)
DynField addDynFieldFile(java.lang.String name)
DynField addDynFieldFolder(java.lang.String name)
DynField addDynFieldURL(java.lang.String name)
DynField addDynFieldURI(java.lang.String name)
DynField addDynFieldSingle(java.lang.String name, int type, java.lang.Object defaultValue, boolean mandatory, boolean persistent)
name
- type
- defaultValue
- mandatory
- persistent
- addDynFieldString(String)
DynField addDynFieldSingle(java.lang.String name, int type, java.lang.Object defaultValue)
name
- type
- defaultValue
- addDynFieldString(String)
DynField addDynFieldRange(java.lang.String name, int type, java.lang.Object defaultValue, java.lang.Object min, java.lang.Object max, boolean mandatory, boolean persistent)
name
- type
- defaultValue
- min
- max
- mandatory
- persistent
- #addDynFieldRange(String)
DynField addDynFieldRange(java.lang.String name, int type, java.lang.Object defaultValue, java.lang.Object min, java.lang.Object max)
name
- type
- defaultValue
- min
- max
- #addDynFieldRange(String)
DynField addDynFieldChoice(java.lang.String name, int type, java.lang.Object defaultValue, DynObjectValueItem[] values, boolean mandatory, boolean persistent)
name
- type
- defaultValue
- values
- mandatory
- persistent
- #addDynFieldChoice(String)
DynField addDynFieldChoice(java.lang.String name, int type, java.lang.Object defaultValue, DynObjectValueItem[] values)
name
- type
- defaultValue
- values
- #addDynFieldChoice(String)
void removeDynField(java.lang.String name)
void validate(DynObject object) throws DynObjectValidateException
DynObjectValidateException
DynObject newInstance()
void extend(DynStruct struct)
void extend(java.lang.String namespace, java.lang.String structName)
void extend(java.lang.String structName)
void remove(DynStruct superDynStruct)
superDynStruct
- the dynStruct to be removed.DynStruct[] getSuperDynStructs()
boolean isInstance(DynObject dynObject)
boolean isExtendable(DynStruct dynStruct)