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  Long cache
           
protected  String generatorClassName
           
protected  Long incrementBy
           
protected  BigDecimal maxValue
           
protected  Long minValue
           
protected  String prefix
           
protected  Long startValue
           
protected  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.
 String getGeneratorClassName()
          Gets the value of the generatorClassName property.
 long getIncrementBy()
          Gets the value of the incrementBy property.
 BigDecimal getMaxValue()
          Gets the value of the maxValue property.
 long getMinValue()
          Gets the value of the minValue property.
 String getPrefix()
          Gets the value of the prefix property.
 long getStartValue()
          Gets the value of the startValue property.
 String getSuffix()
          Gets the value of the suffix property.
 void setCache(Long value)
          Sets the value of the cache property.
 void setGeneratorClassName(String value)
          Sets the value of the generatorClassName property.
 void setIncrementBy(Long value)
          Sets the value of the incrementBy property.
 void setMaxValue(BigDecimal value)
          Sets the value of the maxValue property.
 void setMinValue(Long value)
          Sets the value of the minValue property.
 void setPrefix(String value)
          Sets the value of the prefix property.
 void setStartValue(Long value)
          Sets the value of the startValue property.
 void setSuffix(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 String generatorClassName

prefix

protected String prefix

suffix

protected String suffix

minValue

protected Long minValue

maxValue

protected BigDecimal maxValue

startValue

protected Long startValue

incrementBy

protected Long incrementBy

cache

protected Long cache
Constructor Detail

SequenceConfiguration

public SequenceConfiguration()
Method Detail

getGeneratorClassName

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

Returns:
possible object is String

setGeneratorClassName

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

Parameters:
value - allowed object is String

getPrefix

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

Returns:
possible object is String

setPrefix

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

Parameters:
value - allowed object is String

getSuffix

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

Returns:
possible object is String

setSuffix

public void setSuffix(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(Long value)
Sets the value of the minValue property.

Parameters:
value - allowed object is Long

getMaxValue

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

Returns:
possible object is BigDecimal

setMaxValue

public void setMaxValue(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(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(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(Long value)
Sets the value of the cache property.

Parameters:
value - allowed object is Long


Copyright © 2014. All rights reserved.