*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.discovery
Class MetadataAttribute
java.lang.Object
com.sas.services.AbstractServiceAttribute
com.sas.services.discovery.MetadataAttribute
- All Implemented Interfaces:
ServiceAttributeInterface,Serializable
- Direct Known Subclasses:
ServiceComponentAttribute,ServiceDeploymentAttribute
@SASScope("ALL")
@BinaryCompatibilityOnly
public class MetadataAttribute
extends AbstractServiceAttribute
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionStringThe metadata element's class identifier.StringThe metadata element's type (i.e.StringThe metadata element's id (i.e.StringThe metadata element's name. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default instance with all attributes unspecified.MetadataAttribute(String attributeID, String attributeName, String attributeElementType, String attributeClassIdentifier) Constructs an instance of an attribute describing a metadata element. -
Method Summary
Modifier and TypeMethodDescriptionMap<String, String> Gets a map of this attribute's fields and their values.Methods inherited from class com.sas.services.AbstractServiceAttribute
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
elementType
public String elementTypeThe metadata element's type (i.e. "SoftwareComponent", "DeployedComponent") ornullif unspecified. -
id
public String idThe metadata element's id (i.e. "A5K2EL3N.B000000B") ornullif unspecified. -
name
public String nameThe metadata element's name. -
classIdentifier
public String classIdentifierThe metadata element's class identifier.
-
-
Constructor Details
-
MetadataAttribute
public MetadataAttribute()Constructs a default instance with all attributes unspecified. -
MetadataAttribute
public MetadataAttribute(String attributeID, String attributeName, String attributeElementType, String attributeClassIdentifier) Constructs an instance of an attribute describing a metadata element. Any values that are not specified should benullto indicate a "don't care".- Parameters:
attributeID- The metadata element's id (i.e. "A5K2EL3N.B000000B") ornullif unspecified.attributeName- The metadata element's name ornullif unspecified.attributeElementType- The metadata element's type (i.e. "SoftwareComponent", "DeployedComponent") ornullif unspecified.attributeClassIdentifier- The metadata element's class identifier.
-
-
Method Details
-
getFieldNameToValueMap
public Map<String,String> getFieldNameToValueMap()Gets a map of this attribute's fields and their values.- classIdentifier
- elementType
- id
- name
- Overrides:
getFieldNameToValueMapin classAbstractServiceAttribute- Returns:
- Map keyed by the
Stringnames of a field to their values.
-