org.plasma.config
Class SequenceConfiguration

java.lang.Object
  extended by org.plasma.config.Configuration
      extended by org.plasma.config.SequenceConfiguration

public class SequenceConfiguration
extends Configuration

Java class for SequenceConfiguration complex type.

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

 <complexType name="SequenceConfiguration">
   <complexContent>
     <extension base="{http://www.plasma.org/config}Configuration">
       <attribute name="generatorClassName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="suffix" type="{http://www.w3.org/2001/XMLSchema}string" default="_SEQ" />
       <attribute name="minValue" type="{http://www.w3.org/2001/XMLSchema}long" default="1" />
       <attribute name="maxValue" type="{http://www.w3.org/2001/XMLSchema}decimal" default="999999999999999999999999999" />
       <attribute name="startValue" type="{http://www.w3.org/2001/XMLSchema}long" default="1" />
       <attribute name="incrementBy" type="{http://www.w3.org/2001/XMLSchema}long" default="1" />
       <attribute name="cache" type="{http://www.w3.org/2001/XMLSchema}long" default="20" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Long cache
           
protected  java.lang.String generatorClassName
           
protected  java.lang.Long incrementBy
           
protected  java.math.BigDecimal maxValue
           
protected  java.lang.Long minValue
           
protected  java.lang.String prefix
           
protected  java.lang.Long startValue
           
protected  java.lang.String suffix
           
 
Fields inherited from class org.plasma.config.Configuration
properties
 
Constructor Summary
SequenceConfiguration()
           
 
Method Summary
 long getCache()
          Gets the value of the cache property.
 java.lang.String getGeneratorClassName()
          Gets the value of the generatorClassName property.
 long getIncrementBy()
          Gets the value of the incrementBy property.
 java.math.BigDecimal getMaxValue()
          Gets the value of the maxValue property.
 long getMinValue()
          Gets the value of the minValue property.
 java.lang.String getPrefix()
          Gets the value of the prefix property.
 long getStartValue()
          Gets the value of the startValue property.
 java.lang.String getSuffix()
          Gets the value of the suffix property.
 void setCache(java.lang.Long value)
          Sets the value of the cache property.
 void setGeneratorClassName(java.lang.String value)
          Sets the value of the generatorClassName property.
 void setIncrementBy(java.lang.Long value)
          Sets the value of the incrementBy property.
 void setMaxValue(java.math.BigDecimal value)
          Sets the value of the maxValue property.
 void setMinValue(java.lang.Long value)
          Sets the value of the minValue property.
 void setPrefix(java.lang.String value)
          Sets the value of the prefix property.
 void setStartValue(java.lang.Long value)
          Sets the value of the startValue property.
 void setSuffix(java.lang.String value)
          Sets the value of the suffix property.
 
Methods inherited from class org.plasma.config.Configuration
getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generatorClassName

protected java.lang.String generatorClassName

prefix

protected java.lang.String prefix

suffix

protected java.lang.String suffix

minValue

protected java.lang.Long minValue

maxValue

protected java.math.BigDecimal maxValue

startValue

protected java.lang.Long startValue

incrementBy

protected java.lang.Long incrementBy

cache

protected java.lang.Long cache
Constructor Detail

SequenceConfiguration

public SequenceConfiguration()
Method Detail

getGeneratorClassName

public java.lang.String getGeneratorClassName()
Gets the value of the generatorClassName property.

Returns:
possible object is String

setGeneratorClassName

public void setGeneratorClassName(java.lang.String value)
Sets the value of the generatorClassName property.

Parameters:
value - allowed object is String

getPrefix

public java.lang.String getPrefix()
Gets the value of the prefix property.

Returns:
possible object is String

setPrefix

public void setPrefix(java.lang.String value)
Sets the value of the prefix property.

Parameters:
value - allowed object is String

getSuffix

public java.lang.String getSuffix()
Gets the value of the suffix property.

Returns:
possible object is String

setSuffix

public void setSuffix(java.lang.String value)
Sets the value of the suffix property.

Parameters:
value - allowed object is String

getMinValue

public long getMinValue()
Gets the value of the minValue property.

Returns:
possible object is Long

setMinValue

public void setMinValue(java.lang.Long value)
Sets the value of the minValue property.

Parameters:
value - allowed object is Long

getMaxValue

public java.math.BigDecimal getMaxValue()
Gets the value of the maxValue property.

Returns:
possible object is BigDecimal

setMaxValue

public void setMaxValue(java.math.BigDecimal value)
Sets the value of the maxValue property.

Parameters:
value - allowed object is BigDecimal

getStartValue

public long getStartValue()
Gets the value of the startValue property.

Returns:
possible object is Long

setStartValue

public void setStartValue(java.lang.Long value)
Sets the value of the startValue property.

Parameters:
value - allowed object is Long

getIncrementBy

public long getIncrementBy()
Gets the value of the incrementBy property.

Returns:
possible object is Long

setIncrementBy

public void setIncrementBy(java.lang.Long value)
Sets the value of the incrementBy property.

Parameters:
value - allowed object is Long

getCache

public long getCache()
Gets the value of the cache property.

Returns:
possible object is Long

setCache

public void setCache(java.lang.Long value)
Sets the value of the cache property.

Parameters:
value - allowed object is Long


Copyright © 2013. All Rights Reserved.