public interface IMendixObject
Modifier and Type | Interface and Description |
---|---|
static class |
IMendixObject.ObjectState |
Modifier and Type | Method and Description |
---|---|
IMendixObject |
clone() |
boolean |
equals(Object obj) |
IMendixIdentifier |
getChangedBy(IContext context) |
Date |
getChangedDate(IContext context) |
List<? extends IMendixObjectMember<?>> |
getChangedMembers(IContext context) |
Date |
getCreatedDate(IContext context) |
IMendixIdentifier |
getId() |
IMendixObjectMember<?> |
getMember(IContext context,
String memberName) |
Map<String,? extends IMendixObjectMember<?>> |
getMembers(IContext context) |
IMetaObject |
getMetaObject() |
IMendixIdentifier |
getOwner(IContext context) |
List<? extends IMendixObjectMember<?>> |
getPrimitives(IContext context) |
List<? extends com.mendix.core.objectmanagement.member.MendixObjectReference> |
getReferences(IContext context) |
List<? extends com.mendix.core.objectmanagement.member.MendixObjectReferenceSet> |
getReferenceSets(IContext context) |
IMendixObject.ObjectState |
getState() |
String |
getType() |
<T> T |
getValue(IContext context,
String memberName)
Returns the member value for the given memberName.
|
Map<String,? extends IMendixObjectMember<?>> |
getVirtualMembers(IContext context) |
boolean |
hasChangedByAttribute() |
boolean |
hasChangedDateAttribute() |
boolean |
hasCreatedDateAttribute() |
boolean |
hasDeleteRights(IContext context) |
boolean |
hasMember(String memberName) |
boolean |
hasNullValues(IContext context) |
boolean |
hasOwnerAttribute() |
boolean |
isChanged() |
boolean |
isNew() |
boolean |
isVirtual(IContext context,
String name)
Check whether certain attribute is virtual
|
void |
setValue(IContext context,
String memberName,
Object value)
Set the value for the member with name memberName
|
Map<String,? extends IMendixObjectMember<?>> getMembers(IContext context)
context
- List<? extends IMendixObjectMember<?>> getChangedMembers(IContext context)
List<? extends com.mendix.core.objectmanagement.member.MendixObjectReference> getReferences(IContext context)
List<? extends com.mendix.core.objectmanagement.member.MendixObjectReferenceSet> getReferenceSets(IContext context)
List<? extends IMendixObjectMember<?>> getPrimitives(IContext context)
Map<String,? extends IMendixObjectMember<?>> getVirtualMembers(IContext context)
boolean isVirtual(IContext context, String name)
context
- name
- the attribute nameString getType()
void setValue(IContext context, String memberName, Object value)
context
- memberName
- value
- com.mendix.core.CoreException
<T> T getValue(IContext context, String memberName)
context
- the context.memberName
- the memberName.com.mendix.core.CoreException
boolean hasMember(String memberName)
memberName
- to check.IMendixObjectMember<?> getMember(IContext context, String memberName)
context
- memberName
- should be an existing member of this objectIMendixIdentifier getId()
IMendixObject.ObjectState getState()
boolean isChanged()
IMendixObject clone() throws CloneNotSupportedException
CloneNotSupportedException
boolean hasChangedByAttribute()
boolean hasChangedDateAttribute()
boolean hasOwnerAttribute()
IMendixIdentifier getChangedBy(IContext context) throws com.mendix.core.CoreException
com.mendix.core.CoreException
- if hasChangedByAttribute == falseDate getChangedDate(IContext context) throws com.mendix.core.CoreException
com.mendix.core.CoreException
- if hasChangedDateAttribute == falseIMendixIdentifier getOwner(IContext context) throws com.mendix.core.CoreException
com.mendix.core.CoreException
- if hasOwnerAttribute == falseboolean hasCreatedDateAttribute()
Date getCreatedDate(IContext context) throws com.mendix.core.CoreException
com.mendix.core.CoreException
- if hasCreatedDateAttribute == falseboolean hasNullValues(IContext context)
IMetaObject getMetaObject()
boolean hasDeleteRights(IContext context)
boolean isNew()