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