com.evolveum.midpoint.xml.ns._public.common.common_1
Class ScriptType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ScriptType
All Implemented Interfaces:
java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class ScriptType
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

Specifies how and when a script is executed during provisioning.

Java class for ScriptType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ScriptType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="operation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}OperationTypeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="order" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ScriptOrderType"/>
         <element name="host" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ScriptHostType" minOccurs="0"/>
         <element name="language" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="argument" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ScriptArgumentType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<ScriptArgumentType> argument
           
protected  java.lang.String code
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_ARGUMENT
           
static javax.xml.namespace.QName F_CODE
           
static javax.xml.namespace.QName F_HOST
           
static javax.xml.namespace.QName F_LANGUAGE
           
static javax.xml.namespace.QName F_OPERATION
           
static javax.xml.namespace.QName F_ORDER
           
protected  ScriptHostType host
           
protected  java.lang.String language
           
protected  java.util.List<OperationTypeType> operation
           
protected  ScriptOrderType order
           
 
Constructor Summary
ScriptType()
           
 
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)
           
 java.util.List<ScriptArgumentType> getArgument()
          Gets the value of the argument property.
 java.lang.String getCode()
          Gets the value of the code property.
 ScriptHostType getHost()
          Gets the value of the host property.
 java.lang.String getLanguage()
          Gets the value of the language property.
 java.util.List<OperationTypeType> getOperation()
          Gets the value of the operation property.
 ScriptOrderType getOrder()
          Gets the value of the order property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCode(java.lang.String value)
          Sets the value of the code property.
 void setHost(ScriptHostType value)
          Sets the value of the host property.
 void setLanguage(java.lang.String value)
          Sets the value of the language property.
 void setOrder(ScriptOrderType value)
          Sets the value of the order 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

operation

protected java.util.List<OperationTypeType> operation

order

protected ScriptOrderType order

host

protected ScriptHostType host

language

protected java.lang.String language

argument

protected java.util.List<ScriptArgumentType> argument

code

protected java.lang.String code

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_OPERATION

public static final javax.xml.namespace.QName F_OPERATION

F_ORDER

public static final javax.xml.namespace.QName F_ORDER

F_HOST

public static final javax.xml.namespace.QName F_HOST

F_LANGUAGE

public static final javax.xml.namespace.QName F_LANGUAGE

F_ARGUMENT

public static final javax.xml.namespace.QName F_ARGUMENT

F_CODE

public static final javax.xml.namespace.QName F_CODE
Constructor Detail

ScriptType

public ScriptType()
Method Detail

getOperation

public java.util.List<OperationTypeType> getOperation()
Gets the value of the operation property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the operation property.

For example, to add a new item, do as follows:

    getOperation().add(newItem);
 

Objects of the following type(s) are allowed in the list OperationTypeType


getOrder

public ScriptOrderType getOrder()
Gets the value of the order property.

Returns:
possible object is ScriptOrderType

setOrder

public void setOrder(ScriptOrderType value)
Sets the value of the order property.

Parameters:
value - allowed object is ScriptOrderType

getHost

public ScriptHostType getHost()
Gets the value of the host property.

Returns:
possible object is ScriptHostType

setHost

public void setHost(ScriptHostType value)
Sets the value of the host property.

Parameters:
value - allowed object is ScriptHostType

getLanguage

public java.lang.String getLanguage()
Gets the value of the language property.

Returns:
possible object is String

setLanguage

public void setLanguage(java.lang.String value)
Sets the value of the language property.

Parameters:
value - allowed object is String

getArgument

public java.util.List<ScriptArgumentType> getArgument()
Gets the value of the argument property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the argument property.

For example, to add a new item, do as follows:

    getArgument().add(newItem);
 

Objects of the following type(s) are allowed in the list ScriptArgumentType


getCode

public java.lang.String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(java.lang.String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

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)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

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


Copyright © 2012 evolveum. All Rights Reserved.