org.zeroexchange.model.resource.property
Class PropertySpecification

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.resource.property.PropertySpecification
All Implemented Interfaces:
Serializable, Identifiable<Integer>

@Entity
public class PropertySpecification
extends IntegerPKPersistent

The descriptor of the single resource property.

Author:
black
See Also:
Serialized Form

Field Summary
static String FIELD_PROPERTY
           
static String FIELD_RESOURCE
           
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
PropertySpecification()
           
 
Method Summary
 Property getProperty()
           
 Resource getResource()
           
 Value getValue()
           
 void setProperty(Property property)
           
 void setResource(Resource resource)
           
 void setValue(Value 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
 

Field Detail

FIELD_RESOURCE

public static final String FIELD_RESOURCE
See Also:
Constant Field Values

FIELD_PROPERTY

public static final String FIELD_PROPERTY
See Also:
Constant Field Values
Constructor Detail

PropertySpecification

public PropertySpecification()
Method Detail

getResource

public Resource getResource()
Returns:
the resource

setResource

public void setResource(Resource resource)
Parameters:
resource - the resource to set

getProperty

public Property getProperty()
Returns:
the property

setProperty

public void setProperty(Property property)
Parameters:
property - the property to set

getValue

public Value getValue()
Returns:
the values

setValue

public void setValue(Value value)
Parameters:
values - the values to set


Copyright © 2013. All Rights Reserved.