|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.discovery.IdAttribute
public class IdAttribute
A foundation service discovery attribute representing an ID and ID type.
This attribute may be subclassed to create an attribute which can initialize the idType attribute to a well-known constant value.
Field Summary | |
---|---|
java.lang.String |
id
An ID associated with a service. |
java.lang.String |
idType
An additional attribute that may be used in the event that multiple IdAttribute objects are being used to represent different ids. |
Constructor Summary | |
---|---|
IdAttribute()
Constructs a default instance with a null ID and
null ID type. |
|
IdAttribute(java.lang.String attributeID)
Constructs an instance initialized with the specified ID. |
|
IdAttribute(java.lang.String attributeID,
java.lang.String attributeIDType)
Constructs an instance initialized with the specified ID and ID type. |
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 |
---|
public java.lang.String id
public java.lang.String idType
Constructor Detail |
---|
public IdAttribute()
null
ID and
null
ID type.
public IdAttribute(java.lang.String attributeID)
attributeID
- An ID associated with a service.public IdAttribute(java.lang.String attributeID, java.lang.String attributeIDType)
ServiceComponent
we could use
"ServiceComponent" as the type.
attributeID
- An ID associated with a service.attributeIDType
- An additional type qualifier to help to distinguish
what this ID represents.Method Detail |
---|
public java.util.Map getFieldNameToValueMap()
getFieldNameToValueMap
in class AbstractServiceAttribute
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |