|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unitesk.atp.dynattrs.IndexedAttributedImpl
public abstract class IndexedAttributedImpl
The default implementation of Attributed
methods that
deals with indexed attributes.
Constructor Summary | |
---|---|
IndexedAttributedImpl()
|
Method Summary | |
---|---|
Object |
getAttribute(String name,
int index)
Retrieves the value of the specified element of an indexed attribute with the specified name. |
boolean |
isIndexed(String name)
Checks whether an attribute with the specified name may be indexed. |
void |
setAttribute(String name,
int index,
Object elem)
Changes the value of the specified element of an indexed attribute with the specified name. |
int |
sizeAttribute(String name)
Returns the size of an indexed attribute with the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.unitesk.atp.dynattrs.Attributed |
---|
addAttribute, getAttribute, getAttributeNames, hasAttribute, isAttrCreatable, isRemovable, isWritable, removeAttribute, setAttribute |
Constructor Detail |
---|
public IndexedAttributedImpl()
Method Detail |
---|
public boolean isIndexed(String name)
isIndexed
in interface Attributed
name
- The name of an attribute
true
if a value of an attribute with
the specified name may be indexed,
false
otherwise.Attributed.hasAttribute(String)
public int sizeAttribute(String name)
sizeAttribute
in interface Attributed
name
- The name of an indexed attribute.
Attributed.hasAttribute(String)
,
Attributed.isIndexed(String)
public Object getAttribute(String name, int index)
getAttribute
in interface Attributed
name
- The name of an indexed attribute.index
- The index of an indexed attribute.
Attributed.hasAttribute(String)
,
Attributed.isIndexed(String)
,
Attributed.sizeAttribute(String)
public void setAttribute(String name, int index, Object elem)
setAttribute
in interface Attributed
name
- The name of an indexed attribute.index
- The index of an indexed attribute.elem
- The new value of an element with the specified index.Attributed.hasAttribute(String)
,
Attributed.isWritable(String)
,
Attributed.isIndexed(String)
,
Attributed.sizeAttribute(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |