org.broadleafcommerce.openadmin.server.domain
Class EntityImpl

java.lang.Object
  extended by 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

Field Summary
protected  Long id
           
protected  List<Property> properties
           
protected  String type
           
 
Constructor Summary
EntityImpl()
           
 
Method Summary
 void addProperty(Property property)
           
 boolean equals(Object obj)
           
 Long getId()
           
 List<Property> getProperties()
           
 String getType()
           
 int hashCode()
           
 void setId(Long id)
           
 void setProperties(List<Property> properties)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

type

protected String type

properties

protected List<Property> properties
Constructor Detail

EntityImpl

public EntityImpl()
Method Detail

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.