org.riverock.dbrevision.annotation.schema.db
Class Patch

java.lang.Object
  extended by org.riverock.dbrevision.annotation.schema.db.Patch

public class Patch
extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="PreviousName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element ref="{}Validator" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{}Action"/>
           <element ref="{}CustomClassAction"/>
           <element ref="{}SqlAction"/>
           <element ref="{}AddTableFieldAction"/>
           <element ref="{}TableData"/>
           <element name="Table" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbTable"/>
           <element name="Sequence" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbSequence"/>
           <element name="ForeignKey" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbForeignKey"/>
           <element name="Index" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbIndex"/>
           <element name="PrimaryKey" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbPrimaryKey"/>
           <element name="View" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbView"/>
         </choice>
       </sequence>
       <attribute name="isProcessed" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> actionOrCustomClassActionOrSqlAction
           
protected  String name
           
protected  String previousName
           
protected  Boolean processed
           
protected  Validator validator
           
 
Constructor Summary
Patch()
           
 
Method Summary
 List<Object> getActionOrCustomClassActionOrSqlAction()
          Gets the value of the actionOrCustomClassActionOrSqlAction property.
 String getName()
          Gets the value of the name property.
 String getPreviousName()
          Gets the value of the previousName property.
 Validator getValidator()
          Gets the value of the validator property.
 Boolean isProcessed()
          Gets the value of the processed property.
 void setName(String value)
          Sets the value of the name property.
 void setPreviousName(String value)
          Sets the value of the previousName property.
 void setProcessed(Boolean value)
          Sets the value of the processed property.
 void setValidator(Validator value)
          Sets the value of the validator property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

previousName

protected String previousName

validator

protected Validator validator

actionOrCustomClassActionOrSqlAction

protected List<Object> actionOrCustomClassActionOrSqlAction

processed

protected Boolean processed
Constructor Detail

Patch

public Patch()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getPreviousName

public String getPreviousName()
Gets the value of the previousName property.

Returns:
possible object is String

setPreviousName

public void setPreviousName(String value)
Sets the value of the previousName property.

Parameters:
value - allowed object is String

getValidator

public Validator getValidator()
Gets the value of the validator property.

Returns:
possible object is Validator

setValidator

public void setValidator(Validator value)
Sets the value of the validator property.

Parameters:
value - allowed object is Validator

getActionOrCustomClassActionOrSqlAction

public List<Object> getActionOrCustomClassActionOrSqlAction()
Gets the value of the actionOrCustomClassActionOrSqlAction 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 actionOrCustomClassActionOrSqlAction property.

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

    getActionOrCustomClassActionOrSqlAction().add(newItem);
 

Objects of the following type(s) are allowed in the list DbView TableData DbForeignKey DbPrimaryKey DbIndex DbTable Action DbSequence SqlAction CustomClassAction AddTableFieldAction


isProcessed

public Boolean isProcessed()
Gets the value of the processed property.

Returns:
possible object is Boolean

setProcessed

public void setProcessed(Boolean value)
Sets the value of the processed property.

Parameters:
value - allowed object is Boolean


Copyright © 2008 Riverock community. All Rights Reserved.