Dashboard Builder Data Provider API 6.2.0.Beta3

org.jboss.dashboard.provider
Class AbstractDataProperty

java.lang.Object
  extended by org.jboss.dashboard.provider.AbstractDataProperty
All Implemented Interfaces:
Cloneable, DataProperty

public class AbstractDataProperty
extends Object
implements DataProperty

Base class for the implementation of custom data properties.


Field Summary
protected  DataSet dataSet
           
protected  Domain domain
           
protected  String id
           
protected  Map<Locale,String> nameI18nMap
           
 
Constructor Summary
AbstractDataProperty()
           
 
Method Summary
 DataProperty cloneProperty()
           
 boolean equals(Object obj)
           
 DataSet getDataSet()
           
 Domain getDomain()
           
 String getName(Locale l)
           
 Map<Locale,String> getNameI18nMap()
           
 String getPropertyId()
           
 List getValues()
           
 int hashCode()
           
 void setDataSet(DataSet dataSet)
           
 void setDomain(Domain domain)
           
 void setName(String name, Locale l)
           
 void setNameI18nMap(Map<Locale,String> nameI18nMap)
           
 void setPropertyId(String id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

nameI18nMap

protected Map<Locale,String> nameI18nMap

dataSet

protected DataSet dataSet

domain

protected Domain domain
Constructor Detail

AbstractDataProperty

public AbstractDataProperty()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getPropertyId

public String getPropertyId()
Specified by:
getPropertyId in interface DataProperty

setPropertyId

public void setPropertyId(String id)
Specified by:
setPropertyId in interface DataProperty

getName

public String getName(Locale l)
Specified by:
getName in interface DataProperty

setName

public void setName(String name,
                    Locale l)
Specified by:
setName in interface DataProperty

getDataSet

public DataSet getDataSet()
Specified by:
getDataSet in interface DataProperty

setDataSet

public void setDataSet(DataSet dataSet)
Specified by:
setDataSet in interface DataProperty

getDomain

public Domain getDomain()
Specified by:
getDomain in interface DataProperty

setDomain

public void setDomain(Domain domain)
Specified by:
setDomain in interface DataProperty

getValues

public List getValues()
Specified by:
getValues in interface DataProperty

getNameI18nMap

public Map<Locale,String> getNameI18nMap()
Specified by:
getNameI18nMap in interface DataProperty

setNameI18nMap

public void setNameI18nMap(Map<Locale,String> nameI18nMap)
Specified by:
setNameI18nMap in interface DataProperty

cloneProperty

public DataProperty cloneProperty()
Specified by:
cloneProperty in interface DataProperty

Dashboard Builder Data Provider API 6.2.0.Beta3

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.