org.zeroexchange.model.resource.category
Class Category

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.resource.category.Category
All Implemented Interfaces:
Serializable, TitlesAware<Category,CategoryStrings>, Identifiable<Integer>

@Entity
public class Category
extends IntegerPKPersistent
implements TitlesAware<Category,CategoryStrings>

Items class.

Author:
black
See Also:
Serialized Form

Field Summary
static String CAT_GOOD
           
static String FIELD_PARENT
           
 
Fields inherited from interface org.zeroexchange.model.i18n.TitlesAware
FIELD_TITLES
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
Category()
           
 
Method Summary
 Boolean getAbstractCategory()
           
 String getAlias()
           
 Boolean getLeafCategory()
           
 Category getParent()
           
 Set<Property> getProperties()
           
 CategoryStrings getTitles()
          Sets the titles.
 void setAbstractCategory(Boolean abstractCategory)
           
 void setAlias(String alias)
           
 void setLeafCategory(Boolean leafCategory)
           
 void setParent(Category parent)
           
 void setProperties(Set<Property> properties)
           
 void setTitles(CategoryStrings 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

CAT_GOOD

public static final String CAT_GOOD
See Also:
Constant Field Values

FIELD_PARENT

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

Category

public Category()
Method Detail

getAlias

public String getAlias()

setAlias

public void setAlias(String alias)

getAbstractCategory

public Boolean getAbstractCategory()
Returns:
the abstractCategory

setAbstractCategory

public void setAbstractCategory(Boolean abstractCategory)
Parameters:
abstractCategory - the abstractCategory to set

getProperties

public Set<Property> getProperties()

setProperties

public void setProperties(Set<Property> properties)

getParent

public Category getParent()

setParent

public void setParent(Category parent)

getLeafCategory

public Boolean getLeafCategory()
Returns:
the leafCategory

setLeafCategory

public void setLeafCategory(Boolean leafCategory)
Parameters:
leafCategory - the leafCategory to set

getTitles

public CategoryStrings getTitles()
Sets the titles.

Specified by:
getTitles in interface TitlesAware<Category,CategoryStrings>

setTitles

public void setTitles(CategoryStrings titles)


Copyright © 2013. All Rights Reserved.