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

java.lang.Object
  extended by com.evolveum.midpoint.repo.sql.data.common.RContainer
      extended by com.evolveum.midpoint.repo.sql.data.common.RExclusion
All Implemented Interfaces:
ROwnable, java.io.Serializable

@Entity
public class RExclusion
extends RContainer
implements ROwnable

Author:
lazyman
See Also:
Serialized Form

Constructor Summary
RExclusion()
           
 
Method Summary
static void copyFromJAXB(ExclusionType jaxb, RExclusion repo, ObjectType parent, PrismContext prismContext)
           
static void copyToJAXB(RExclusion repo, ExclusionType jaxb, PrismContext prismContext)
           
 boolean equals(java.lang.Object o)
           
 RContainer getContainerOwner()
           
 java.lang.String getDescription()
           
 RObject getOwner()
           
 java.lang.Long getOwnerId()
           
 java.lang.String getOwnerOid()
           
 RExclusionPolicyType getPolicy()
           
 RObjectReference getTargetRef()
           
 int hashCode()
           
 void setDescription(java.lang.String description)
           
 void setOwner(RObject owner)
           
 void setOwnerId(java.lang.Long ownerId)
           
 void setOwnerOid(java.lang.String ownerOid)
           
 void setPolicy(RExclusionPolicyType policy)
           
 void setTargetRef(RObjectReference targetRef)
           
 ExclusionType toJAXB(PrismContext prismContext)
           
 
Methods inherited from class com.evolveum.midpoint.repo.sql.data.common.RContainer
getId, getOid, setId, setOid, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RExclusion

public RExclusion()
Method Detail

getOwner

public RObject getOwner()

getOwnerId

public java.lang.Long getOwnerId()

getOwnerOid

public java.lang.String getOwnerOid()

getDescription

public java.lang.String getDescription()

getPolicy

public RExclusionPolicyType getPolicy()

getTargetRef

public RObjectReference getTargetRef()

setDescription

public void setDescription(java.lang.String description)

setPolicy

public void setPolicy(RExclusionPolicyType policy)

setTargetRef

public void setTargetRef(RObjectReference targetRef)

setOwner

public void setOwner(RObject owner)

setOwnerId

public void setOwnerId(java.lang.Long ownerId)

setOwnerOid

public void setOwnerOid(java.lang.String ownerOid)

getContainerOwner

public RContainer getContainerOwner()
Specified by:
getContainerOwner in interface ROwnable
Returns:
Returns owner of container. For example for RAssignment method must return RUser or RRole

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class RContainer

hashCode

public int hashCode()
Overrides:
hashCode in class RContainer

copyToJAXB

public static void copyToJAXB(RExclusion repo,
                              ExclusionType jaxb,
                              PrismContext prismContext)
                       throws DtoTranslationException
Throws:
DtoTranslationException

copyFromJAXB

public static void copyFromJAXB(ExclusionType jaxb,
                                RExclusion repo,
                                ObjectType parent,
                                PrismContext prismContext)
                         throws DtoTranslationException
Throws:
DtoTranslationException

toJAXB

public ExclusionType toJAXB(PrismContext prismContext)
                     throws DtoTranslationException
Throws:
DtoTranslationException


Copyright © 2012 evolveum. All Rights Reserved.