|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.informationsystem.collector.impl.resources.GCUBEXMLResource
public class GCUBEXMLResource
Nested Class Summary | |
---|---|
static class |
GCUBEXMLResource.MalformedXMLResourceException
Malformed XML resource exception |
static class |
GCUBEXMLResource.RESOURCETYPE
the resource type states if the resource contains a profile or generic WS-ResourceProperties |
Constructor Summary | |
---|---|
GCUBEXMLResource(DAIXResource resource)
|
Method Summary | |
---|---|
void |
deserializeFromIndexing(java.lang.String content,
boolean... enveloped)
Sets the content of the resource |
java.lang.String |
getCollectionName()
|
org.w3c.dom.Document |
getContent()
Gets the wrapped BaseDAIXResource 's content |
java.lang.String |
getEntryKey()
Accesses the source EntryKey |
java.lang.String |
getGroupKey()
Accesses the source GroupKey |
java.util.Calendar |
getLastUpdateTime()
|
long |
getLastUpdateTimeinMills()
|
java.lang.String |
getNamespace()
Gets the namespace |
java.lang.String |
getPublicationMode()
The mode in which the resource was published |
java.lang.String |
getResourceName()
|
java.lang.String |
getSource()
Accesses the source address of the service that published the data |
java.lang.String |
getSourceKey()
Gets the key of the WS-Resource that published the data |
java.lang.String |
getSourceRunningInstance()
|
java.util.Calendar |
getTerminationTime()
|
void |
setEntryKey(java.lang.String entryKey)
Sets the source EntryKey |
void |
setGroupKey(java.lang.String groupKey)
Sets the source GroupKey |
void |
setNamespace(java.lang.String namespace)
Sets the namespace |
void |
setPublicationMode(java.lang.String publicationMode)
|
void |
setSource(java.lang.String source)
Sets the source address of the RI that publishes resource as reported in the servicegroup entry |
void |
setSourceKey(java.lang.String key)
Sets the key of the WS-Resource that published the data |
void |
setTerminationTime(java.util.Calendar terminationTime)
|
java.lang.String |
toString()
|
java.lang.String |
toStringFromElement(org.w3c.dom.Document xml,
java.lang.String elementName)
Returns a sub-serialization of the given XML, starting from the element name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GCUBEXMLResource(DAIXResource resource) throws GCUBEXMLResource.MalformedXMLResourceException
GCUBEXMLResource.MalformedXMLResourceException
Method Detail |
---|
public java.lang.String getCollectionName() throws GCUBEXMLResource.MalformedXMLResourceException
DAIXResource.MalformedResourceException
GCUBEXMLResource.MalformedXMLResourceException
public java.lang.String getResourceName() throws GCUBEXMLResource.MalformedXMLResourceException
DAIXResource.MalformedResourceException
GCUBEXMLResource.MalformedXMLResourceException
public java.util.Calendar getTerminationTime()
public java.util.Calendar getLastUpdateTime()
public void setTerminationTime(java.util.Calendar terminationTime)
terminationTime
- the terminationTime to setpublic long getLastUpdateTimeinMills() throws DAIXResource.MalformedResourceException
java.lang.Exception
- if an error occurs when accessing the LastUpdateMs field
DAIXResource.MalformedResourceException
public java.lang.String getGroupKey()
public void setGroupKey(java.lang.String groupKey)
groupKey
- the new group keypublic java.lang.String getEntryKey()
public void setEntryKey(java.lang.String entryKey)
entryKey
- the new entry keypublic void setSource(java.lang.String source)
source
- the new source addresspublic java.lang.String getSource()
public java.lang.String getPublicationMode()
public void setSourceKey(java.lang.String key)
key
- the new source keypublic java.lang.String getSourceKey()
public void setNamespace(java.lang.String namespace)
namamespace
- the namespacepublic java.lang.String getNamespace()
public void setPublicationMode(java.lang.String publicationMode)
public void deserializeFromIndexing(java.lang.String content, boolean... enveloped)
content
- the contentenveloped
- true if the content is wrapped in the metadata enveloppublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringFromElement(org.w3c.dom.Document xml, java.lang.String elementName) throws GCUBEXMLResource.MalformedXMLResourceException
xml
- the source XML serializationelementName
- the name of the element
java.lang.Exception
- if the serialization fails
GCUBEXMLResource.MalformedXMLResourceException
public org.w3c.dom.Document getContent() throws GCUBEXMLResource.MalformedXMLResourceException
BaseDAIXResource
's content
GCUBEXMLResource.MalformedXMLResourceException
public java.lang.String getSourceRunningInstance() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |