|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.infoservice.AbstractDatabaseEntry anon.infoservice.ServiceOperator
public class ServiceOperator
Holds the information about the operator of a service.
Field Summary | |
---|---|
private static java.lang.String |
AT_SUBSTITUTE
|
private static java.lang.String |
DOT_SUBSTITUTE
|
private MultiCertPath |
m_certPath
The operators certificate |
private java.lang.String |
m_commonName
|
private java.lang.String |
m_countryCode
|
private long |
m_lastUpdate
The last update time. |
private java.lang.String |
m_strEmail
This is the EMail address of the operator. |
private java.lang.String |
m_strID
|
private java.lang.String |
m_strOrganization
This is the name of the operator or organization. |
private java.lang.String |
m_strOrgUnit
|
private java.lang.String |
m_strUrl
This is the URL of the operators home page. |
private static boolean |
SPAM_SAFE
|
static java.lang.String |
XML_ELEMENT_COUNTRYCODE
|
static java.lang.String |
XML_ELEMENT_EMAIL
|
static java.lang.String |
XML_ELEMENT_EMAIL_SPAMSAFE
|
static java.lang.String |
XML_ELEMENT_NAME
|
static java.lang.String |
XML_ELEMENT_ORG_UNIT
|
static java.lang.String |
XML_ELEMENT_ORGANISATION
|
static java.lang.String |
XML_ELEMENT_URL
|
Fields inherited from class anon.infoservice.AbstractDatabaseEntry |
---|
XML_ATTR_LAST_UPDATE, XML_LAST_UPDATE |
Constructor Summary | |
---|---|
ServiceOperator(JAPCertificate operatorCertificate)
Creates a ServiceOperator just by his Certificate |
|
ServiceOperator(org.w3c.dom.Node a_node,
MultiCertPath a_certPath,
long a_lastUpdate)
Creates a new ServiceOperator an operator certificate or from an XML description (Operator node). |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object a_obj)
|
JAPCertificate |
getCertificate()
Returns the operator certificate. |
MultiCertPath |
getCertPath()
|
java.lang.String |
getCommonName()
|
java.lang.String |
getCountryCode()
|
java.lang.String |
getEMail()
Return the EMail address of the operator. |
java.lang.String |
getEMailSpamSafe()
|
java.lang.String |
getId()
Returns a unique ID for a database entry. |
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
java.lang.String |
getOrganization()
Returns the name of the operator or organization. |
java.lang.String |
getOrganizationUnit()
|
java.lang.String |
getUrl()
Returns the URL of the operators home page. |
long |
getVersionNumber()
Returns version number which is used to determine the more recent infoservice entry, if two entries are compared (higher version number -> more recent entry). |
int |
hashCode()
|
boolean |
hasTermsAndConditions()
|
org.w3c.dom.Element |
toXMLElement(org.w3c.dom.Document ownerDocument)
|
org.w3c.dom.Element |
toXMLElement(org.w3c.dom.Document ownerDocument,
boolean spamSafe)
|
org.w3c.dom.Element |
toXMLElement(org.w3c.dom.Document ownerDocument,
OperatorAddress address,
boolean spamSafe)
|
Methods inherited from class anon.infoservice.AbstractDatabaseEntry |
---|
deletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XML_ELEMENT_NAME
public static final java.lang.String XML_ELEMENT_ORGANISATION
public static final java.lang.String XML_ELEMENT_COUNTRYCODE
public static final java.lang.String XML_ELEMENT_URL
public static final java.lang.String XML_ELEMENT_ORG_UNIT
public static final java.lang.String XML_ELEMENT_EMAIL
public static final java.lang.String XML_ELEMENT_EMAIL_SPAMSAFE
private static final java.lang.String AT_SUBSTITUTE
private static final java.lang.String DOT_SUBSTITUTE
private static final boolean SPAM_SAFE
private java.lang.String m_strOrganization
private java.lang.String m_strOrgUnit
private java.lang.String m_strUrl
private java.lang.String m_strEmail
private java.lang.String m_countryCode
private java.lang.String m_commonName
private long m_lastUpdate
private java.lang.String m_strID
private MultiCertPath m_certPath
Constructor Detail |
---|
public ServiceOperator(JAPCertificate operatorCertificate)
operatorCertificate
- the opeartors certificatepublic ServiceOperator(org.w3c.dom.Node a_node, MultiCertPath a_certPath, long a_lastUpdate)
a_node
- The operator node from an XML document.a_certificate
- The operator certificatea_lastUpdate
- Last update time.Method Detail |
---|
public long getVersionNumber()
getVersionNumber
in class AbstractDatabaseEntry
public long getLastUpdate()
getLastUpdate
in class AbstractDatabaseEntry
public java.lang.String getId()
getId
in class AbstractDatabaseEntry
public java.lang.String getEMail()
public java.lang.String getEMailSpamSafe()
public java.lang.String getOrganization()
public java.lang.String getCommonName()
public java.lang.String getOrganizationUnit()
public MultiCertPath getCertPath()
public JAPCertificate getCertificate()
public java.lang.String getUrl()
public java.lang.String getCountryCode()
public org.w3c.dom.Element toXMLElement(org.w3c.dom.Document ownerDocument)
public boolean hasTermsAndConditions()
public org.w3c.dom.Element toXMLElement(org.w3c.dom.Document ownerDocument, boolean spamSafe)
public org.w3c.dom.Element toXMLElement(org.w3c.dom.Document ownerDocument, OperatorAddress address, boolean spamSafe)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object a_obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |