|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.deployment.ConsumedResourceAdapter
public class ConsumedResourceAdapter
Adapter for a resource defined within a service configuration which may be consumed by an application.
Constructor Summary | |
---|---|
ConsumedResourceAdapter(java.lang.String id,
java.lang.String value,
java.lang.String type,
int typeCode,
java.lang.String localizedType,
boolean isRequired)
Constructs an adapter for a consumed resource. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones the resource. |
java.lang.String |
getLocalizedResourceType()
Gets a localized value describing the resource's type. |
java.lang.String |
getLocalizedResourceTypeAndValue()
Gets a localized value describing the resource's type and value. |
java.lang.String |
getResourceID()
Gets the id that uniquely identifies the resource within a service's configuration. |
java.lang.String |
getResourceType()
Gets a value describing the resource's type. |
int |
getResourceTypeCode()
Gets the code describing the resource's type. |
java.lang.String |
getResourceValue()
Gets the value used to identify the service configuration resource. |
boolean |
isRequired()
Determines if this resource is required by the service's configuration. |
void |
setResourceValue(java.lang.String value)
|
Constructor Detail |
---|
public ConsumedResourceAdapter(java.lang.String id, java.lang.String value, java.lang.String type, int typeCode, java.lang.String localizedType, boolean isRequired)
id
- Unique identifier for a service configuration's resource.value
- Service configuration resource's name.type
- Service configuration resource's type.typeCode
- Enumeration code for a service configuration resource's type.localizedType
- Localized string representing the service configuration resource's type.isRequired
- true
if this resource is always required by the service's configuration.Method Detail |
---|
public java.lang.String getResourceID()
ConsumedResourceInterface
getResourceID
in interface ConsumedResourceInterface
public java.lang.String getResourceValue()
ConsumedResourceInterface
getResourceValue
in interface ConsumedResourceInterface
public java.lang.String getResourceType()
ConsumedResourceInterface
getResourceType
in interface ConsumedResourceInterface
public int getResourceTypeCode()
ConsumedResourceInterface
getResourceTypeCode
in interface ConsumedResourceInterface
public java.lang.String getLocalizedResourceType()
ConsumedResourceInterface
getLocalizedResourceType
in interface ConsumedResourceInterface
public java.lang.String getLocalizedResourceTypeAndValue()
ConsumedResourceInterface
getLocalizedResourceTypeAndValue
in interface ConsumedResourceInterface
public void setResourceValue(java.lang.String value)
public boolean isRequired()
ConsumedResourceInterface
isRequired
in interface ConsumedResourceInterface
true
if this resource is required by the service's
configuration.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
ConsumedResourceInterface
clone
in interface ConsumedResourceInterface
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |