org.zeroexchange.model.resource.property
Class Property

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.resource.property.Property
All Implemented Interfaces:
Serializable, TitlesAware<Property,PropertyStrings>, Identifiable<Integer>, BasicContainerTypes
Direct Known Subclasses:
DictionaryProperty

@Entity
public class Property
extends IntegerPKPersistent
implements BasicContainerTypes, TitlesAware<Property,PropertyStrings>

The base class for the definitions of the properties of the exchangeable items.

Author:
black
See Also:
Serialized Form

Field Summary
static String FIELD_CATEGORY
           
static String FIELD_NAME
           
static String PROP_CURRENCY
           
static String PROP_UOM
           
 
Fields inherited from interface org.zeroexchange.model.resource.category.BasicContainerTypes
SCALAR, SET
 
Fields inherited from interface org.zeroexchange.model.i18n.TitlesAware
FIELD_TITLES
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
Property()
           
 
Method Summary
 Category getCategory()
           
 int getContainerType()
           
 String getDictionary()
           
 String getName()
           
 PropertyType getPropertyType()
           
 PropertyStrings getTitles()
          Gets the titles.
 void setCategory(Category category)
           
 void setContainerType(Integer containerType)
           
 void setDictionary(String dictionary)
           
 void setName(String name)
           
 void setPropertyType(PropertyType propertyType)
           
 void setTitles(PropertyStrings titles)
           
 
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

PROP_UOM

public static final String PROP_UOM
See Also:
Constant Field Values

PROP_CURRENCY

public static final String PROP_CURRENCY
See Also:
Constant Field Values

FIELD_CATEGORY

public static final String FIELD_CATEGORY
See Also:
Constant Field Values

FIELD_NAME

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

Property

public Property()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getCategory

public Category getCategory()

setCategory

public void setCategory(Category category)

getPropertyType

public PropertyType getPropertyType()

setPropertyType

public void setPropertyType(PropertyType propertyType)

getContainerType

public int getContainerType()

setContainerType

public void setContainerType(Integer containerType)

getTitles

public PropertyStrings getTitles()
Gets the titles.

Specified by:
getTitles in interface TitlesAware<Property,PropertyStrings>

setTitles

public void setTitles(PropertyStrings titles)

getDictionary

public String getDictionary()

setDictionary

public void setDictionary(String dictionary)


Copyright © 2013. All Rights Reserved.