org.zeroexchange.model.resource.value
Class IntegerValue

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.resource.value.Value
              extended by org.zeroexchange.model.resource.value.IntegerValue
All Implemented Interfaces:
Serializable, Identifiable<Integer>, SingleValueHolder<Integer>

@Entity
public class IntegerValue
extends Value
implements SingleValueHolder<Integer>

The simple integer value.

Author:
black
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.zeroexchange.model.resource.value.Value
FIELD_PROPERTYSPEC
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
IntegerValue()
           
 
Method Summary
 Integer getValue()
          Returns the value.
 void setValue(Integer value)
          Sets the value.
 
Methods inherited from class org.zeroexchange.model.IntegerPKPersistent
equals, getId, hashCode, setId
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerValue

public IntegerValue()
Method Detail

getValue

public Integer getValue()
Returns the value.

Specified by:
getValue in interface SingleValueHolder<Integer>

setValue

public void setValue(Integer value)
Sets the value.

Specified by:
setValue in interface SingleValueHolder<Integer>


Copyright © 2013. All Rights Reserved.