org.broadleafcommerce.openadmin.server.domain
Class PropertyImpl

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

Field Summary
protected  String displayValue
           
protected  Entity entity
           
protected  Long id
           
protected  Boolean isDirty
           
protected  String name
           
protected  SupportedFieldType secondaryType
           
 
Constructor Summary
PropertyImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDisplayValue()
           
 Entity getEntity()
           
 Long getId()
           
 Boolean getIsDirty()
           
 String getName()
           
 SupportedFieldType getSecondaryType()
           
 String getValue()
           
 int hashCode()
           
 void setDisplayValue(String displayValue)
           
 void setEntity(Entity entity)
           
 void setId(Long id)
           
 void setIsDirty(Boolean isDirty)
           
 void setName(String name)
           
 void setSecondaryType(SupportedFieldType secondaryType)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

name

protected String name

displayValue

protected String displayValue

isDirty

protected Boolean isDirty

entity

protected Entity entity

secondaryType

protected SupportedFieldType secondaryType
Constructor Detail

PropertyImpl

public PropertyImpl()
Method Detail

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.