All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Metadata |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sas.metadata.remote
Class FastMetadata

    com.sas.metadata.remote.FastMetadata

All Implemented Interfaces:
  java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

    public class FastMetadata

FastMetadata is a lightweight wrapper for the attribute and association maps returned by the getMetadataNoCache and getMetadataObjectsNoCache methods of `MdOMIUtil`. This object allows attributes and associations to be fetched from the map without run-time casts in the calling code.

See Also:
  Serialized Form

Constructor Summary
`FastMetadata()`

Method Summary
`java.util.List<FastMetadata>` | `getAssociation(java.lang.String key)` Returns a list of associated objects for a specified object association
`java.lang.String` | `getAttribute(java.lang.String key)` Returns a specified object attribute.

Constructor Detail

### FastMetadata

    public FastMetadata()

Method Detail

### getAttribute

    public java.lang.String getAttribute(java.lang.String key)

  Returns a specified object attribute.

  Parameters:
    `key` - attribute name
  Returns:
    the attribute value

### getAssociation

    public java.util.List<FastMetadata> getAssociation(java.lang.String key)

  Returns a list of associated objects for a specified object association

  Parameters:
    `key` - association name
  Returns:
    the associated objects

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Metadata |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SAS Institute Inc. All Rights Reserved.