|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.evolveum.midpoint.xml.ns._public.common.common_1.AssignmentType
public class AssignmentType
Generic assignments of one object to another object. This will usually be assignment of a role to a user, assignment of an organizational unit, team or whatever. It may also be used to assing role to another role, creating a role hierarchy. Assignment is an abstract concept. It can be anything that gives the "receptor" object additional access rights, privileges, capabilities or similar ability or right. But it may also constraint the object with policy, e.g. to impelemt separation of duties. Roles, organizations and privileges in IDM system are examples of assignments. The assignemtn may target either existing IDM object (such as a role) or abstract resource account that may or may not exist. In case of resource objects it is constrained to accounts, as accoutns are the only resource objects that can be assigned to a user. Other resource objects (entitlements) can be assigned to accounts, but not to users. TODO: constraints
Java class for AssignmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AssignmentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}extension" minOccurs="0"/>
<choice>
<element name="target" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectType"/>
<element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectReferenceType"/>
<element name="accountConstruction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}AccountConstructionType"/>
</choice>
<element name="activation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ActivationType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AccountConstructionType |
accountConstruction
|
protected ActivationType |
activation
|
static javax.xml.namespace.QName |
COMPLEX_TYPE
|
protected Extension |
extension
|
static javax.xml.namespace.QName |
F_ACCOUNT_CONSTRUCTION
|
static javax.xml.namespace.QName |
F_ACTIVATION
|
static javax.xml.namespace.QName |
F_EXTENSION
|
static javax.xml.namespace.QName |
F_TARGET
|
static javax.xml.namespace.QName |
F_TARGET_REF
|
protected ObjectType |
target
|
protected ObjectReferenceType |
targetRef
|
| Constructor Summary | |
|---|---|
AssignmentType()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
AccountConstructionType |
getAccountConstruction()
Gets the value of the accountConstruction property. |
ActivationType |
getActivation()
Gets the value of the activation property. |
Extension |
getExtension()
The assignment extension used to add parameters to the assignment. |
ObjectType |
getTarget()
Gets the value of the target property. |
ObjectReferenceType |
getTargetRef()
Gets the value of the targetRef property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
setAccountConstruction(AccountConstructionType value)
Sets the value of the accountConstruction property. |
void |
setActivation(ActivationType value)
Sets the value of the activation property. |
void |
setExtension(Extension value)
Sets the value of the extension property. |
void |
setTarget(ObjectType value)
Sets the value of the target property. |
void |
setTargetRef(ObjectReferenceType value)
Sets the value of the targetRef property. |
java.lang.String |
toString()
Generates a String representation of the contents of this type. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Extension extension
protected ObjectType target
protected ObjectReferenceType targetRef
protected AccountConstructionType accountConstruction
protected ActivationType activation
public static final javax.xml.namespace.QName COMPLEX_TYPE
public static final javax.xml.namespace.QName F_EXTENSION
public static final javax.xml.namespace.QName F_TARGET
public static final javax.xml.namespace.QName F_TARGET_REF
public static final javax.xml.namespace.QName F_ACCOUNT_CONSTRUCTION
public static final javax.xml.namespace.QName F_ACTIVATION
| Constructor Detail |
|---|
public AssignmentType()
| Method Detail |
|---|
public Extension getExtension()
Extensionpublic void setExtension(Extension value)
value - allowed object is
Extensionpublic ObjectType getTarget()
ObjectTypepublic void setTarget(ObjectType value)
value - allowed object is
ObjectTypepublic ObjectReferenceType getTargetRef()
ObjectReferenceTypepublic void setTargetRef(ObjectReferenceType value)
value - allowed object is
ObjectReferenceTypepublic AccountConstructionType getAccountConstruction()
AccountConstructionTypepublic void setAccountConstruction(AccountConstructionType value)
value - allowed object is
AccountConstructionTypepublic ActivationType getActivation()
ActivationTypepublic void setActivation(ActivationType value)
value - allowed object is
ActivationTypepublic java.lang.String toString()
toString in class java.lang.Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Object
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||