Package com.walkfares.odsl.var.type
Class VarDeclaredType
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.VersionedVar
com.walkfares.odsl.var.basic.VarDynamicObject
com.walkfares.odsl.var.type.VarDeclaredType
- All Implemented Interfaces:
ListProvider
,CheckedDynamicVar
,DynamicVar
,Var
public class VarDeclaredType extends VarDynamicObject implements CheckedDynamicVar
An instance of a DeclaredType which conforms to the declaration
The can be written and read using the object service
-
Constructor Summary
Constructors Constructor Description VarDeclaredType()
-
Method Summary
Modifier and Type Method Description Var
_clone()
DeclaredType
getDeclaredType()
Status
getStatus()
VarType
getType()
String
getTypeName()
static VarDeclaredType
newInstance(DeclaredProperty declaredProperty)
static VarDeclaredType
newInstance(DeclaredType declaredType)
static VarDeclaredType
newInstance(DeclaredType declaredType, VarDynamicObject data)
void
set(String name, Var value)
void
setProperty(String name, String value)
Methods inherited from class com.walkfares.odsl.var.basic.VarDynamicObject
add, add, applyChanges, asSimpleObject, clear, contains, get, get, get, getAccess, getElements, getId, getProperties, getReference, isSerializeId, remove, set_Id, setAccess, setId, setSerializeId, size, toString
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getUID, setLinks, tryConvert
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.walkfares.odsl.var.Var
applyChanges, DATE, DATE_NULL, DYNAMIC, getId, getReference, getUID, isEmpty, LIST, SCALAR, set_Id, setId, tryConvert
-
Constructor Details
-
VarDeclaredType
public VarDeclaredType()
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceVar
- Overrides:
getType
in classVarDynamicObject
-
_clone
- Specified by:
_clone
in interfaceVar
- Overrides:
_clone
in classVarDynamicObject
-
set
- Specified by:
set
in interfaceDynamicVar
- Overrides:
set
in classVarDynamicObject
-
setProperty
-
getDeclaredType
-
getTypeName
- Specified by:
getTypeName
in interfaceVar
- Overrides:
getTypeName
in classVarDynamicObject
-
newInstance
-
newInstance
-
newInstance
-
getStatus
- Specified by:
getStatus
in interfaceCheckedDynamicVar
-