public class DValueImpl extends Object implements DValue, DValueInternal
| Constructor and Description |
|---|
DValueImpl(DType type,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asBoolean() |
Date |
asDate() |
int |
asInt() |
long |
asLong() |
Map<String,DValue> |
asMap() |
double |
asNumber() |
DRelation |
asRelation() |
String |
asString() |
DStructHelper |
asStruct() |
void |
forceObject(Object obj) |
void |
forceType(DType type) |
Object |
getObject() |
Object |
getPersistenceId() |
DType |
getType() |
ValidationState |
getValidationState() |
boolean |
isValid() |
void |
setPersistenceId(Object persistenceId) |
void |
setValidationState(ValidationState valState) |
String |
toString() |
public ValidationState getValidationState()
getValidationState in interface DValuepublic void setValidationState(ValidationState valState)
setValidationState in interface DValueInternalpublic void forceObject(Object obj)
public void forceType(DType type)
public DStructHelper asStruct()
public Object getPersistenceId()
getPersistenceId in interface DValuepublic void setPersistenceId(Object persistenceId)
setPersistenceId in interface DValueInternalpublic DRelation asRelation()
asRelation in interface DValueCopyright © 2020. All rights reserved.