org.broadleafcommerce.common.enumeration.domain
Class DataDrivenEnumerationImpl

java.lang.Object
  extended by org.broadleafcommerce.common.enumeration.domain.DataDrivenEnumerationImpl
All Implemented Interfaces:
Serializable, DataDrivenEnumeration

@Entity
public class DataDrivenEnumerationImpl
extends Object
implements DataDrivenEnumeration

See Also:
Serialized Form

Field Summary
protected  List<DataDrivenEnumerationValue> enumValues
           
protected  Long id
           
protected  String key
           
protected  Boolean modifiable
           
 
Constructor Summary
DataDrivenEnumerationImpl()
           
 
Method Summary
 List<DataDrivenEnumerationValue> getEnumValues()
          Gets list of values associated with this enumeration.
 Long getId()
           
 String getKey()
           
 Boolean getModifiable()
           
 List<DataDrivenEnumerationValue> getOrderItems()
          Deprecated. 
 void setEnumValues(List<DataDrivenEnumerationValue> enumValues)
          Sets list of values associated with this enumeration.
 void setId(Long id)
           
 void setKey(String key)
           
 void setModifiable(Boolean modifiable)
           
 void setOrderItems(List<DataDrivenEnumerationValue> orderItems)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

key

protected String key

modifiable

protected Boolean modifiable

enumValues

protected List<DataDrivenEnumerationValue> enumValues
Constructor Detail

DataDrivenEnumerationImpl

public DataDrivenEnumerationImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface DataDrivenEnumeration

setId

public void setId(Long id)
Specified by:
setId in interface DataDrivenEnumeration

getKey

public String getKey()
Specified by:
getKey in interface DataDrivenEnumeration

setKey

public void setKey(String key)
Specified by:
setKey in interface DataDrivenEnumeration

getModifiable

public Boolean getModifiable()
Specified by:
getModifiable in interface DataDrivenEnumeration

setModifiable

public void setModifiable(Boolean modifiable)
Specified by:
setModifiable in interface DataDrivenEnumeration

getEnumValues

public List<DataDrivenEnumerationValue> getEnumValues()
Description copied from interface: DataDrivenEnumeration
Gets list of values associated with this enumeration.

Specified by:
getEnumValues in interface DataDrivenEnumeration

setEnumValues

public void setEnumValues(List<DataDrivenEnumerationValue> enumValues)
Description copied from interface: DataDrivenEnumeration
Sets list of values associated with this enumeration.

Specified by:
setEnumValues in interface DataDrivenEnumeration

getOrderItems

@Deprecated
public List<DataDrivenEnumerationValue> getOrderItems()
Deprecated. 

Description copied from interface: DataDrivenEnumeration
Incorrectly named, kept purely for API consistency

Specified by:
getOrderItems in interface DataDrivenEnumeration

setOrderItems

@Deprecated
public void setOrderItems(List<DataDrivenEnumerationValue> orderItems)
Deprecated. 

Description copied from interface: DataDrivenEnumeration
Incorrectly named, kept purely for API consistency

Specified by:
setOrderItems in interface DataDrivenEnumeration


Copyright © 2013. All Rights Reserved.