org.broadleafcommerce.openadmin.server.domain
Class PropertyImpl
java.lang.Object
org.broadleafcommerce.openadmin.server.domain.PropertyImpl
- All Implemented Interfaces:
- Serializable, Property
@Entity
public class PropertyImpl
- extends Object
- implements Property
- Author:
- jfischer
- See Also:
- Serialized Form
id
protected Long id
name
protected String name
displayValue
protected String displayValue
isDirty
protected Boolean isDirty
entity
protected Entity entity
secondaryType
protected SupportedFieldType secondaryType
PropertyImpl
public PropertyImpl()
getName
public String getName()
- Specified by:
getName in interface Property
setName
public void setName(String name)
- Specified by:
setName in interface Property
getValue
public String getValue()
- Specified by:
getValue in interface Property
setValue
public void setValue(String value)
- Specified by:
setValue in interface Property
getDisplayValue
public String getDisplayValue()
- Specified by:
getDisplayValue in interface Property
setDisplayValue
public void setDisplayValue(String displayValue)
- Specified by:
setDisplayValue in interface Property
getEntity
public Entity getEntity()
- Specified by:
getEntity in interface Property
- Returns:
- the entity
setEntity
public void setEntity(Entity entity)
- Specified by:
setEntity in interface Property
- Parameters:
entity - the entity to set
getId
public Long getId()
- Specified by:
getId in interface Property
- Returns:
- the id
setId
public void setId(Long id)
- Specified by:
setId in interface Property
- Parameters:
id - the id to set
getIsDirty
public Boolean getIsDirty()
- Specified by:
getIsDirty in interface Property
setIsDirty
public void setIsDirty(Boolean isDirty)
- Specified by:
setIsDirty in interface Property
getSecondaryType
public SupportedFieldType getSecondaryType()
- Specified by:
getSecondaryType in interface Property
setSecondaryType
public void setSecondaryType(SupportedFieldType secondaryType)
- Specified by:
setSecondaryType in interface Property
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.