public class AgentReader extends NdrObjectReader
More Info:
createdDate, doc, dsFormats, handle, lastModifiedDate, nativeDataStreamFormat, nsContext, objectType
Constructor and Description |
---|
AgentReader(org.dom4j.Document response)
Constructor for the AgentReader object with provided response (to ndr "get"
call)
|
AgentReader(java.lang.String handle)
Constructor for the AgentReader with provided handle
|
Modifier and Type | Method and Description |
---|---|
protected void |
agentInit() |
java.util.List |
getAggregators()
Gets the aggregators that are related to this Agent via the aggregatorFor
relationship.
|
java.lang.String |
getIdentifier()
Gets the identifier attribute of the AgentReader object
|
java.lang.String |
getIdentifierType()
Returns one of "HOST", "URL", "OTHER", depending on what form of id is
present in the object.
|
java.util.List |
getMetadataProviders()
Gets the metadataProviders that are related to this Agent via the
metadataProviderFor relationship.
|
boolean |
isAuthorizedToChange()
Returns true if the configured NCS_AGENT is authorized to change this agent.
|
protected static void |
pp(org.dom4j.Node node) |
getCanonicalNsdlDcDataStream, getCreated, getCreatedDate, getDataStream, getDataStream, getDocument, getFormats, getHandle, getLastModified, getLastModifiedDate, getNativeDataStream, getNativeDataStream, getNode, getNodes, getNodeText, getNsContext, getObjectType, getProperty, getPropertyValues, getRelationship, getRelationshipValues, getState, getXPath, initDataStreams, setDebug
public AgentReader(java.lang.String handle) throws java.lang.Exception
handle
- handle to Agent object in the NDRjava.lang.Exception
- NOT YET DOCUMENTEDpublic AgentReader(org.dom4j.Document response) throws java.lang.Exception
response
- a dom4j.Document reperesentation of ndr GET response.java.lang.Exception
- NOT YET DOCUMENTEDpublic java.lang.String getIdentifier()
public java.lang.String getIdentifierType()
protected void agentInit() throws java.lang.Exception
java.lang.Exception
public boolean isAuthorizedToChange()
public java.util.List getMetadataProviders() throws java.lang.Exception
java.lang.Exception
- NOT YET DOCUMENTEDpublic java.util.List getAggregators() throws java.lang.Exception
java.lang.Exception
- NOT YET DOCUMENTEDprotected static void pp(org.dom4j.Node node)