org.broadleafcommerce.openadmin.server.domain
Class EntityImpl
java.lang.Object
org.broadleafcommerce.openadmin.server.domain.EntityImpl
- All Implemented Interfaces:
- java.io.Serializable, Entity
@Entity
public class EntityImpl
- extends java.lang.Object
- implements Entity
- Author:
- jfischer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.Long id
type
protected java.lang.String type
properties
protected java.util.List<Property> properties
EntityImpl
public EntityImpl()
getId
public java.lang.Long getId()
- Specified by:
getId in interface Entity
- Returns:
- the id
setId
public void setId(java.lang.Long id)
- Specified by:
setId in interface Entity
- Parameters:
id - the id to set
getType
public java.lang.String getType()
- Specified by:
getType in interface Entity
- Returns:
- the type
setType
public void setType(java.lang.String type)
- Specified by:
setType in interface Entity
- Parameters:
type - the type to set
getProperties
public java.util.List<Property> getProperties()
- Specified by:
getProperties in interface Entity
setProperties
public void setProperties(java.util.List<Property> properties)
- Specified by:
setProperties in interface Entity
addProperty
public void addProperty(Property property)
- Specified by:
addProperty in interface Entity
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2011. All Rights Reserved.