org.rapla.entities.dynamictype
Interface Classification

All Superinterfaces:
Cloneable, Named

public interface Classification
extends Named, Cloneable

A Classification is an instance of a DynamicType. It holds the attribute values for the attributesof the corresponding type. You need one classification for each object you want to classify.


Method Summary
 Object clone()
           
 Attribute getAttribute(String key)
           
 Attribute[] getAttributes()
           
 String getName(Locale locale)
           
 DynamicType getType()
           
 Object getValue(Attribute attribute)
          calls getValue(getAttribte(key))
 Object getValue(String key)
           
 String getValueAsString(Attribute attribute, Locale locale)
          returns the value as a String in the selected locale.
 void setValue(Attribute attribute, Object value)
           
 void setValue(String key, Object value)
          calls setValue(getAttribte(key),value)
 

Method Detail

getType

DynamicType getType()

getName

String getName(Locale locale)
Specified by:
getName in interface Named

getAttributes

Attribute[] getAttributes()

getAttribute

Attribute getAttribute(String key)

setValue

void setValue(Attribute attribute,
              Object value)

setValue

void setValue(String key,
              Object value)
calls setValue(getAttribte(key),value)


getValue

Object getValue(Attribute attribute)
calls getValue(getAttribte(key))


getValue

Object getValue(String key)

getValueAsString

String getValueAsString(Attribute attribute,
                        Locale locale)
returns the value as a String in the selected locale.


clone

Object clone()


Copyright 2000-2006 Rapla Team. All Rights Reseserved.