***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.discovery
Class MetadataAttribute

com.sas.services.discovery.MetadataAttribute
All Implemented Interfaces:
ServiceAttributeInterface, java.io.Serializable
Direct Known Subclasses:
ServiceComponentAttribute, ServiceDeploymentAttribute

public class MetadataAttribute

A service attribute that denotes membership in a group of software components.

This attribute may be used by a service to define its service discovery configuration which will permit service requesters to find a service that is a member of a particular service group.

Since:
1.0
See Also:
Serialized Form

Field Summary
 java.lang.String classIdentifier
          The metadata element's class identifier.
 java.lang.String elementType
          The metadata element's type (i.e.
 java.lang.String id
          The metadata element's id (i.e.
 java.lang.String name
          The metadata element's name.
 
Constructor Summary
MetadataAttribute()
          Constructs a default instance with all attributes unspecified.
MetadataAttribute(java.lang.String attributeID, java.lang.String attributeName, java.lang.String attributeElementType, java.lang.String attributeClassIdentifier)
          Constructs an instance of an attribute describing a metadata element.
 
Method Summary
 java.util.Map getFieldNameToValueMap()
          Gets a map of this attribute's fields and their values.
 
Methods inherited from class com.sas.services.AbstractServiceAttribute
equals, hashCode, toString
 

Field Detail

elementType

public java.lang.String elementType
The metadata element's type (i.e. "SoftwareComponent", "DeployedComponent") or null if unspecified.


id

public java.lang.String id
The metadata element's id (i.e. "A5K2EL3N.B000000B") or null if unspecified.


name

public java.lang.String name
The metadata element's name.


classIdentifier

public java.lang.String classIdentifier
The metadata element's class identifier.

Constructor Detail

MetadataAttribute

public MetadataAttribute()
Constructs a default instance with all attributes unspecified.


MetadataAttribute

public MetadataAttribute(java.lang.String attributeID,
                         java.lang.String attributeName,
                         java.lang.String attributeElementType,
                         java.lang.String attributeClassIdentifier)
Constructs an instance of an attribute describing a metadata element. Any values that are not specified should be null to indicate a "don't care".

Parameters:
attributeID - The metadata element's id (i.e. "A5K2EL3N.B000000B") or null if unspecified.
attributeName - The metadata element's name or null if unspecified.
attributeElementType - The metadata element's type (i.e. "SoftwareComponent", "DeployedComponent") or null if unspecified.
attributeClassIdentifier - The metadata element's class identifier.
Method Detail

getFieldNameToValueMap

public java.util.Map getFieldNameToValueMap()
Gets a map of this attribute's fields and their values.

Overrides:
getFieldNameToValueMap in class AbstractServiceAttribute
Returns:
Map keyed by attribute names to their values.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.