Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.fdk.impl.ah
Class TypeAttributeHandler

    java.lang.Object
      oracle.ifs.fdk.impl.ah.ReadOnlyAttributeHandler
          oracle.ifs.fdk.impl.ah.TypeAttributeHandler

All Implemented Interfaces:
  AttributeHandler

    public class TypeAttributeHandler

extends ReadOnlyAttributeHandler

Returns the type attribute of an item.

Method Summary
`boolean` | `canHandle(AttributeHandlerContext context)` Always returns `true` as all objects have a type attribute.
`static AttributeHandler` | `getInstance()` Returns the singleton instance of this class.
`java.lang.Object` | `getValue(AttributeHandlerContext context)` Returns the value of an attribute.

Methods inherited from class oracle.ifs.fdk.impl.ah.ReadOnlyAttributeHandler
`canUpdate, setValue`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static final AttributeHandler getInstance()

  Description copied from class: `TypeAttributeHandler`
  Returns the singleton instance of this class.

### canHandle

    public boolean canHandle(AttributeHandlerContext context)

  Description copied from class: `TypeAttributeHandler`
  Always returns `true` as all objects have a type attribute.

  Parameters:
    `context` - The context when this handler is called.

### getValue

    public java.lang.Object getValue(AttributeHandlerContext context)
                              throws IfsException

  Description copied from interface: `AttributeHandler`
  Returns the value of an attribute. This method must throw a `RuntimeException` if `canHandle()` returns `false` and this method is still being called.

  Note that implementations which handle read-only attributes should subclass `ReadOnlyAttributeHandler` for convenience as they would need to provide the read side methods only.

  Parameters:
    `context` - The context when this handler is called.
  Throws:
    `IfsException` - If a repository exception occurs.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD