com.evolveum.midpoint.repo.sql.data.common
Class RObjectReference
java.lang.Object
com.evolveum.midpoint.repo.sql.data.common.RObjectReference
- All Implemented Interfaces:
- ObjectReference, Serializable
- Direct Known Subclasses:
- RAccountRef, ROrgRootRef, RParentOrgRef, RResourceApproverRef, RRoleApproverRef
@Entity
public class RObjectReference
- extends Object
- implements ObjectReference
- Author:
- lazyman
- See Also:
- Serialized Form
REFERENCE_TYPE
public static final String REFERENCE_TYPE
- See Also:
- Constant Field Values
F_OWNER
public static final String F_OWNER
- See Also:
- Constant Field Values
RObjectReference
public RObjectReference()
getOwner
public RContainer getOwner()
getOwnerOid
public String getOwnerOid()
getOwnerId
public Long getOwnerId()
getTargetOid
public String getTargetOid()
- Specified by:
getTargetOid
in interface ObjectReference
getRelationNamespace
public String getRelationNamespace()
- Specified by:
getRelationNamespace
in interface ObjectReference
getRelationLocalPart
public String getRelationLocalPart()
- Specified by:
getRelationLocalPart
in interface ObjectReference
getDescription
public String getDescription()
- Specified by:
getDescription
in interface ObjectReference
getType
public RContainerType getType()
- Represents
QName
type attribute in reference e.g.
UserType
represented
as enum RContainerType.USER
- Specified by:
getType
in interface ObjectReference
- Returns:
- null if not defined, otherwise value from
RContainerType
enum
getFilter
public String getFilter()
- Specified by:
getFilter
in interface ObjectReference
setDescription
public void setDescription(String description)
setFilter
public void setFilter(String filter)
setOwner
public void setOwner(RContainer owner)
setOwnerId
public void setOwnerId(Long ownerId)
setOwnerOid
public void setOwnerOid(String ownerOid)
setRelationLocalPart
public void setRelationLocalPart(String relationLocalPart)
setRelationNamespace
public void setRelationNamespace(String relationNamespace)
setTargetOid
public void setTargetOid(String targetOid)
setType
public void setType(RContainerType type)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
copyToJAXB
public static void copyToJAXB(RObjectReference repo,
ObjectReferenceType jaxb,
PrismContext prismContext)
copyFromJAXB
public static void copyFromJAXB(ObjectReferenceType jaxb,
RObjectReference repo,
PrismContext prismContext)
toJAXB
public ObjectReferenceType toJAXB(PrismContext prismContext)
Copyright © 2013 evolveum. All Rights Reserved.