net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.orm.impl
Class GeneratedValueImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.orm.impl.GeneratedValueImpl
All Implemented Interfaces:
Serializable, Cloneable, GeneratedValue

public class GeneratedValueImpl
extends Object
implements Serializable, Cloneable, GeneratedValue

See Also:
Serialized Form

Field Summary
protected  String generator
           
protected  GenerationType strategy
           
 
Constructor Summary
GeneratedValueImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.orm.impl.GeneratedValueImpl instance.
GeneratedValueImpl(GeneratedValueImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.orm.impl.GeneratedValueImpl instance by copying a given instance.
 
Method Summary
 GeneratedValueImpl clone()
          Creates and returns a copy of this object.
 String getGenerator()
          Gets the value of the generator property.
 GenerationType getStrategy()
          Gets the value of the strategy property.
 void setGenerator(String value)
          Sets the value of the generator property.
 void setStrategy(GenerationType value)
          Sets the value of the strategy property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strategy

protected GenerationType strategy

generator

protected String generator
Constructor Detail

GeneratedValueImpl

public GeneratedValueImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.orm.impl.GeneratedValueImpl instance.


GeneratedValueImpl

public GeneratedValueImpl(GeneratedValueImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.orm.impl.GeneratedValueImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getStrategy

public GenerationType getStrategy()
Description copied from interface: GeneratedValue
Gets the value of the strategy property.

Specified by:
getStrategy in interface GeneratedValue
Returns:
possible object is GenerationType

setStrategy

public void setStrategy(GenerationType value)
Description copied from interface: GeneratedValue
Sets the value of the strategy property.

Specified by:
setStrategy in interface GeneratedValue
Parameters:
value - allowed object is GenerationType

getGenerator

public String getGenerator()
Description copied from interface: GeneratedValue
Gets the value of the generator property.

Specified by:
getGenerator in interface GeneratedValue
Returns:
possible object is String

setGenerator

public void setGenerator(String value)
Description copied from interface: GeneratedValue
Sets the value of the generator property.

Specified by:
setGenerator in interface GeneratedValue
Parameters:
value - allowed object is String

clone

public GeneratedValueImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.