org.broadleafcommerce.openadmin.server.domain
Class EntityImpl
java.lang.Object
org.broadleafcommerce.openadmin.server.domain.EntityImpl
- All Implemented Interfaces:
- Serializable, Entity
@Entity
public class EntityImpl
- extends Object
- implements Entity
- Author:
- jfischer
- See Also:
- Serialized Form
id
protected Long id
type
protected String type
properties
protected List<Property> properties
EntityImpl
public EntityImpl()
getId
public Long getId()
- Specified by:
getId in interface Entity
- Returns:
- the id
setId
public void setId(Long id)
- Specified by:
setId in interface Entity
- Parameters:
id - the id to set
getType
public String getType()
- Specified by:
getType in interface Entity
- Returns:
- the type
setType
public void setType(String type)
- Specified by:
setType in interface Entity
- Parameters:
type - the type to set
getProperties
public List<Property> getProperties()
- Specified by:
getProperties in interface Entity
setProperties
public void setProperties(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 Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012. All Rights Reserved.