Class ApprovalSchemaType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ApprovalSchemaType
-
- All Implemented Interfaces:
Containerable
,Serializable
,Cloneable
public class ApprovalSchemaType extends Object implements Serializable, Cloneable, Containerable
Rules for approving something (e.g. assignment of a role to a user). Specifies the structure of approvers and their relations.Java class for ApprovalSchemaType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApprovalSchemaType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="stage" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ApprovalStageDefinitionType" maxOccurs="unbounded"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_DESCRIPTION
static ItemName
F_NAME
static ItemName
F_STAGE
-
Constructor Summary
Constructors Constructor Description ApprovalSchemaType()
ApprovalSchemaType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
ApprovalStageDefinitionType
beginStage()
ApprovalSchemaType
clone()
List<ApprovalStageDefinitionType>
createStageList()
ApprovalSchemaType
description(String value)
<X> X
end()
boolean
equals(Object object)
String
getDescription()
Long
getId()
String
getName()
List<ApprovalStageDefinitionType>
getStage()
int
hashCode()
ApprovalSchemaType
id(Long value)
ApprovalSchemaType
name(String value)
void
setDescription(String value)
void
setId(Long value)
void
setName(String value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.ApprovalSchemaType
stage(ApprovalStageDefinitionType value)
String
toString()
-
-
-
Constructor Detail
-
ApprovalSchemaType
public ApprovalSchemaType()
-
ApprovalSchemaType
public ApprovalSchemaType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getName
public String getName()
-
setName
public void setName(String value)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getStage
public List<ApprovalStageDefinitionType> getStage()
-
createStageList
public List<ApprovalStageDefinitionType> createStageList()
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
name
public ApprovalSchemaType name(String value)
-
description
public ApprovalSchemaType description(String value)
-
stage
public ApprovalSchemaType stage(ApprovalStageDefinitionType value)
-
beginStage
public ApprovalStageDefinitionType beginStage()
-
id
public ApprovalSchemaType id(Long value)
-
clone
public ApprovalSchemaType clone()
-
-