com.evolveum.midpoint.repo.sql.data.common
Class RObjectReference

java.lang.Object
  extended by 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

Field Summary
static String F_OWNER
           
static String REFERENCE_TYPE
           
 
Constructor Summary
RObjectReference()
           
 
Method Summary
static void copyFromJAXB(ObjectReferenceType jaxb, RObjectReference repo, PrismContext prismContext)
           
static void copyToJAXB(RObjectReference repo, ObjectReferenceType jaxb, PrismContext prismContext)
           
 boolean equals(Object o)
           
 String getDescription()
           
 String getFilter()
           
 RContainer getOwner()
           
 Long getOwnerId()
           
 String getOwnerOid()
           
 String getRelationLocalPart()
           
 String getRelationNamespace()
           
 String getTargetOid()
           
 RContainerType getType()
          Represents QName type attribute in reference e.g.
 int hashCode()
           
 void setDescription(String description)
           
 void setFilter(String filter)
           
 void setOwner(RContainer owner)
           
 void setOwnerId(Long ownerId)
           
 void setOwnerOid(String ownerOid)
           
 void setRelationLocalPart(String relationLocalPart)
           
 void setRelationNamespace(String relationNamespace)
           
 void setTargetOid(String targetOid)
           
 void setType(RContainerType type)
           
 ObjectReferenceType toJAXB(PrismContext prismContext)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RObjectReference

public RObjectReference()
Method Detail

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.