Interface MendixObjectReference
- All Superinterfaces:
 IMendixObjectMember<IMendixIdentifier>
Provides the interface for a Mendix association with type Reference.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.mendix.systemwideinterfaces.core.IMendixObjectMember
IMendixObjectMember.MemberState, IMendixObjectMember.MemberValueState - 
Method Summary
Modifier and TypeMethodDescriptiongetValueFromString(String stringValue) If stringValue is null or empty return null otherwise, parse stringValue as a Long value usingLong.parseLong(String)and create anIMendixIdentifierwith that numeric value.isBoth()Returns whether this association has Owner set to Both.Returns the entity type of the referenced object.Methods inherited from interface com.mendix.systemwideinterfaces.core.IMendixObjectMember
getMemberValueState, getName, getOriginalValue, getState, getValue, hasReadAccess, hasWriteAccess, isChanged, isValueChanged, isVirtual, parseValueFromString, parseValueToString, setValue, setValue, toString 
- 
Method Details
- 
referenceType
String referenceType()Returns the entity type of the referenced object.- Returns:
 - the name of the referenced entity
 
 - 
isBoth
Boolean isBoth()Returns whether this association has Owner set to Both.- Returns:
 - True if Owner is Both; false if it is Default
 
 - 
getValueFromString
If stringValue is null or empty return null otherwise, parse stringValue as a Long value usingLong.parseLong(String)and create anIMendixIdentifierwith that numeric value.- Specified by:
 getValueFromStringin interfaceIMendixObjectMember<IMendixIdentifier>- Parameters:
 stringValue- the string to parse- Returns:
 - the parsed value
 
 
 -