com.elasticpath.domain.impl
Class AbstractEntityImpl
java.lang.Object
com.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractEntityImpl
- All Implemented Interfaces:
- Entity, EpDomain, Persistence, java.io.Serializable
- Direct Known Subclasses:
- AbstractAddressImpl, AbstractRuleImpl, AbstractShippingCostCalculationMethodImpl, AttributeImpl, AttributeValueGroupImpl, BrandImpl, CategoryDeletedImpl, CategoryImpl, CategoryTypeImpl, CmUserImpl, CustomerCreditCardImpl, CustomerDeletedImpl, CustomerGroupImpl, CustomerImpl, CustomerProfileImpl, CustomerSessionImpl, ImportJobImpl, OrderImpl, ProductDeletedImpl, ProductImpl, ProductSkuImpl, ProductTypeImpl, RuleSetImpl, ShippingRegionImpl, ShippingServiceLevelImpl, ShoppingCartImpl, SkuOptionImpl, TaxCategoryImpl, TaxCodeImpl, TaxJurisdictionImpl, TopSellerImpl, UserRoleImpl
public abstract class AbstractEntityImpl
- extends AbstractPersistenceImpl
- implements Entity
The default implementation of Entity
.
- See Also:
- Serialized Form
Method Summary |
java.util.Set |
convertAttributeGroupAttributes(java.util.Set attributeTypes,
java.lang.String attributeType)
Converts the attributeGroup's attribute's to the correct type. |
java.lang.String |
getGuid()
Return the guid. |
void |
setDefaultValues()
Set default values for those fields need default values. |
void |
setGuid(java.lang.String guid)
Set the guid. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- Serial version id.
- See Also:
- Constant Field Values
AbstractEntityImpl
public AbstractEntityImpl()
convertAttributeGroupAttributes
public java.util.Set convertAttributeGroupAttributes(java.util.Set attributeTypes,
java.lang.String attributeType)
- Converts the attributeGroup's attribute's to the correct type. This is necessary for
now since DWR doen't do a good job of converting to the correct bean types.
- Parameters:
attributeTypes
- set of attributeTypes to convertattributeType
- attribute type bean name to conver to
- Returns:
- set of converted attributes
getGuid
public java.lang.String getGuid()
- Return the guid.
- Specified by:
getGuid
in interface Entity
- Returns:
- the guid.
setDefaultValues
public void setDefaultValues()
- Set default values for those fields need default values.
- Specified by:
setDefaultValues
in interface Persistence
- Overrides:
setDefaultValues
in class AbstractPersistenceImpl
setGuid
public void setGuid(java.lang.String guid)
- Set the guid.
- Specified by:
setGuid
in interface Entity
- Parameters:
guid
- the guid to set.