public class PersistentResource.RC extends Object implements Requirement, Capability
| Constructor and Description |
|---|
PersistentResource.RC(PersistentResource.RCData data,
String ns) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes()
Returns the attributes of this requirement.
|
Map<String,String> |
getDirectives()
Returns the directives of this requirement.
|
String |
getNamespace()
Returns the namespace of this requirement.
|
Resource |
getResource()
Returns the resource declaring this requirement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodeequals, hashCodepublic PersistentResource.RC(PersistentResource.RCData data, String ns)
public String getNamespace()
RequirementgetNamespace in interface CapabilitygetNamespace in interface Requirementpublic Resource getResource()
RequirementgetResource in interface CapabilitygetResource in interface Requirementnull
if this requirement is synthesized.public Map<String,Object> getAttributes()
RequirementRequirement attributes have no specified semantics and are considered extra user defined information.
getAttributes in interface CapabilitygetAttributes in interface Requirementpublic Map<String,String> getDirectives()
RequirementgetDirectives in interface CapabilitygetDirectives in interface RequirementCopyright © 2014 aQute SARL. All rights reserved.