Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


com.bea.wcp.diameter.sh
Class RepositoryData

java.lang.Object
  extended by com.bea.wcp.diameter.sh.RepositoryData


public class RepositoryData
extends java.lang.Object

Represents Sh repository data. Can be used to parse repository data from a Document object as well as create new repository data.


Constructor Summary
RepositoryData(org.w3c.dom.Document doc)
          Parse RepositoryData from the specified profile document.
RepositoryData(java.lang.String serviceIndication)
          Creates new empty RepositoryData for the specified service indication.

 

Method Summary
 org.w3c.dom.Document getDocument()
          Returns this repository data as an XML Document.
 int getSequenceNumber()
          Returns the sequence number for this repository data.
 org.w3c.dom.Element getServiceData()
          Returns the Element representing this repository data's service data.
 java.lang.String getServiceIndication()
          Returns the service indication for this repository data.
 void removeServiceData()
          Removes the service data for this repository data.
 void setServiceData(org.w3c.dom.Element newData)
          Sets the service data for this repository data.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

RepositoryData

public RepositoryData(java.lang.String serviceIndication)
Creates new empty RepositoryData for the specified service indication. The RepositoryData will have a sequence number of 0 and contain no service data.
Parameters:
serviceIndication - the service indication string

RepositoryData

public RepositoryData(org.w3c.dom.Document doc)
Parse RepositoryData from the specified profile document.
Parameters:
doc - the profile XML document

Method Detail

getDocument

public org.w3c.dom.Document getDocument()
Returns this repository data as an XML Document.
Returns:
the repository data document

getServiceIndication

public java.lang.String getServiceIndication()
Returns the service indication for this repository data.
Returns:
the service indication

getSequenceNumber

public int getSequenceNumber()
Returns the sequence number for this repository data.
Returns:
the sequence number

getServiceData

public org.w3c.dom.Element getServiceData()
Returns the Element representing this repository data's service data.
Returns:
the service data

setServiceData

public void setServiceData(org.w3c.dom.Element newData)
Sets the service data for this repository data. The sequence number will be automatically incremented if the service data has been updated.
Parameters:
newData - the new service data

removeServiceData

public void removeServiceData()
Removes the service data for this repository data. This can be used to remove existing repository data, as the data will be removed on the HSS if it receives a PUR with no service data. The sequence number is automatically incremented.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.