org.plasma.text.ddl
Class Index

java.lang.Object
  extended by org.plasma.text.ddl.Index

public class Index
extends Object

Java class for index complex type.

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

 <complexType name="index">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.servicelabs.org/plasma/text/ddl}on" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String column
           
protected  String name
           
protected  List<On> ons
           
protected  Boolean unique
           
 
Constructor Summary
Index()
           
 
Method Summary
 String getColumn()
          Gets the value of the column property.
 String getName()
          Gets the value of the name property.
 List<On> getOns()
          Gets the value of the ons property.
 Boolean isUnique()
          Gets the value of the unique property.
 void setColumn(String value)
          Sets the value of the column property.
 void setName(String value)
          Sets the value of the name property.
 void setUnique(Boolean value)
          Sets the value of the unique property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ons

protected List<On> ons

name

protected String name

unique

protected Boolean unique

column

protected String column
Constructor Detail

Index

public Index()
Method Detail

getOns

public List<On> getOns()
Gets the value of the ons 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 ons property.

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

    getOns().add(newItem);
 

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


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

isUnique

public Boolean isUnique()
Gets the value of the unique property.

Returns:
possible object is Boolean

setUnique

public void setUnique(Boolean value)
Sets the value of the unique property.

Parameters:
value - allowed object is Boolean

getColumn

public String getColumn()
Gets the value of the column property.

Returns:
possible object is String

setColumn

public void setColumn(String value)
Sets the value of the column property.

Parameters:
value - allowed object is String


Copyright © 2014. All rights reserved.