Class AbstractEntityImpl

  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractEntityImpl
All Implemented Interfaces:
Entity, EpDomain, Persistence,
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

Field Summary
static long serialVersionUID
          Serial version id.
Constructor Summary
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 com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setUidPk
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setUidPk
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath

Field Detail


public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail


public AbstractEntityImpl()
Method Detail


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.

attributeTypes - set of attributeTypes to convert
attributeType - attribute type bean name to conver to
set of converted attributes


public java.lang.String getGuid()
Return the guid.

Specified by:
getGuid in interface Entity
the guid.


public void setDefaultValues()
Set default values for those fields need default values.

Specified by:
setDefaultValues in interface Persistence
setDefaultValues in class AbstractPersistenceImpl


public void setGuid(java.lang.String guid)
Set the guid.

Specified by:
setGuid in interface Entity
guid - the guid to set.