@Entity public class RObjectReference<T extends RObject> extends Object implements ObjectReference
Modifier and Type | Field and Description |
---|---|
static String |
F_OWNER |
static String |
REFERENCE_TYPE |
F_RELATION, F_TARGET_OID, F_TYPE
Constructor and Description |
---|
RObjectReference() |
Modifier and Type | Method and Description |
---|---|
static void |
copyFromJAXB(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType jaxb,
RObjectReference repo,
PrismContext prismContext) |
static void |
copyToJAXB(RObjectReference repo,
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType jaxb,
PrismContext prismContext) |
boolean |
equals(Object o) |
RObject |
getOwner() |
String |
getOwnerOid() |
RReferenceOwner |
getReferenceType() |
String |
getRelation() |
T |
getTarget() |
String |
getTargetOid() |
RObjectType |
getType()
Represents
QName type attribute in reference e.g. |
int |
hashCode() |
void |
setOwner(RObject owner) |
void |
setOwnerOid(String ownerOid) |
void |
setReferenceType(RReferenceOwner referenceType) |
void |
setRelation(String relation) |
void |
setTarget(T target) |
void |
setTargetOid(String targetOid) |
void |
setType(RObjectType type) |
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType |
toJAXB(PrismContext prismContext) |
public static final String REFERENCE_TYPE
public static final String F_OWNER
public RObject getOwner()
public String getOwnerOid()
public T getTarget()
public String getTargetOid()
getTargetOid
in interface ObjectReference
public String getRelation()
getRelation
in interface ObjectReference
public RReferenceOwner getReferenceType()
public void setReferenceType(RReferenceOwner referenceType)
public RObjectType getType()
getType
in interface ObjectReference
RObjectType
enumpublic void setOwner(RObject owner)
public void setOwnerOid(String ownerOid)
public void setRelation(String relation)
public void setTarget(T target)
public void setTargetOid(String targetOid)
public void setType(RObjectType type)
public static void copyToJAXB(RObjectReference repo, com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType jaxb, PrismContext prismContext)
public static void copyFromJAXB(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType jaxb, RObjectReference repo, PrismContext prismContext)
public com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType toJAXB(PrismContext prismContext)
Copyright © 2016 evolveum. All rights reserved.