@Entity public class CategoryXrefImpl extends Object implements CategoryXref
| Modifier and Type | Field and Description |
|---|---|
protected Category |
category |
protected Boolean |
defaultReference |
protected BigDecimal |
displayOrder |
protected Long |
id |
protected Category |
subCategory |
| Constructor and Description |
|---|
CategoryXrefImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends CategoryXref> |
createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
boolean |
equals(Object o) |
Category |
getCategory()
Return the parent category
|
Boolean |
getDefaultReference()
Specifies the default reference between a category and a parent category.
|
BigDecimal |
getDisplayOrder()
Return the order for sorting
|
Long |
getId() |
Category |
getSubCategory()
Return the child category
|
int |
hashCode() |
void |
setCategory(Category category) |
void |
setDefaultReference(Boolean defaultReference) |
void |
setDisplayOrder(BigDecimal displayOrder) |
void |
setId(Long id)
Return the primary key
|
void |
setSubCategory(Category subCategory) |
protected Long id
protected Category category
protected Category subCategory
protected BigDecimal displayOrder
protected Boolean defaultReference
public BigDecimal getDisplayOrder()
CategoryXrefgetDisplayOrder in interface CategoryXrefpublic void setDisplayOrder(BigDecimal displayOrder)
setDisplayOrder in interface CategoryXrefpublic Category getCategory()
CategoryXrefgetCategory in interface CategoryXrefpublic void setCategory(Category category)
setCategory in interface CategoryXrefpublic Category getSubCategory()
CategoryXrefgetSubCategory in interface CategoryXrefpublic void setSubCategory(Category subCategory)
setSubCategory in interface CategoryXrefpublic Long getId()
getId in interface CategoryXrefpublic void setId(Long id)
CategoryXrefsetId in interface CategoryXrefpublic Boolean getDefaultReference()
CategoryXrefCategoryImpl.getDefaultParentCategory() ()}getDefaultReference in interface CategoryXref()public void setDefaultReference(Boolean defaultReference)
setDefaultReference in interface CategoryXrefpublic <G extends CategoryXref> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface MultiTenantCloneable<CategoryXref>CloneNotSupportedExceptionCopyright © 2017. All rights reserved.