|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.domain.values.util.ValuesUtil
org.eclipse.ocl.examples.domain.values.impl.ValueImpl
org.eclipse.ocl.examples.domain.values.impl.ObjectValueImpl
org.eclipse.ocl.examples.domain.values.impl.JavaObjectValueImpl
public class JavaObjectValueImpl
| Field Summary | |
|---|---|
protected java.lang.Object |
object
|
protected TypeId |
typeId
|
| Fields inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil |
|---|
EMPTY_BAG, EMPTY_SET, FALSE_VALUE, INTEGER_MAX_VALUE, INTEGER_MIN_VALUE, INVALID_VALUE, LONG_MAX_VALUE, LONG_MIN_VALUE, NULL_STRING, NULL_VALUE, ONE_VALUE, TRUE_VALUE, UNLIMITED_VALUE, ZERO_VALUE |
| Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value |
|---|
INVALID_NAME |
| Constructor Summary | |
|---|---|
JavaObjectValueImpl(TypeId typeId,
java.lang.Object object)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
asObject()
|
java.lang.Object |
getObject()
|
TypeId |
getTypeId()
Return the type of this value determined from its construction context. |
int |
hashCode()
|
| Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.ObjectValueImpl |
|---|
asObjectValue, equals, eStaticClass, toString |
| Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.ValueImpl |
|---|
asBagValue, asCollectionValue, asDouble, asEcoreObject, asEcoreObject, asElement, asInteger, asIntegerValue, asNavigableObject, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefined, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value |
|---|
asBagValue, asCollectionValue, asDouble, asEcoreObject, asEcoreObject, asElement, asInteger, asIntegerValue, asNavigableObject, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefined, toString |
| Field Detail |
|---|
@NonNull protected final java.lang.Object object
protected TypeId typeId
| Constructor Detail |
|---|
public JavaObjectValueImpl(@NonNull
TypeId typeId,
@NonNull
java.lang.Object object)
| Method Detail |
|---|
@NonNull public java.lang.Object asObject()
asObject in interface ValueasObject in class ObjectValueImpl@NonNull public java.lang.Object getObject()
getObject in interface ObjectValuegetObject in class ObjectValueImpl@NonNull public TypeId getTypeId()
Value
public int hashCode()
hashCode in class ObjectValueImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||