Top Description Methods
org.glassfish.pfl.dynamic.codegen.impl

public Interface AttributedObject

Known Direct Subinterfaces
org.glassfish.pfl.dynamic.codegen.impl.Node
Known Direct Implementers
org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
Imports
java.util.List

The interface that an Object must implement in order to support Attributes. The get and set methods are only for use by the Attribute class.

Method Summary

Modifier and TypeMethod and Description
public List<Object>
attributes()

Internal method for dynamic attribute support.

public Object
get(int index)

Internal method for dynamic attribute support.

public void
set(int index, Object obj)

Internal method for dynamic attribute support.

Method Detail

attributesback to summary
public List<Object> attributes()

Internal method for dynamic attribute support. Return all attributes for this node (may be null).

getback to summary
public Object get(int index)

Internal method for dynamic attribute support. Return the value of the attribute at index. If the attribute at index is not set, set it to the default value and return the default.

setback to summary
public void set(int index, Object obj)

Internal method for dynamic attribute support. Set the attribute at index to obj.