|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.infoservice.AbstractDatabaseEntry
anon.infoservice.ServiceOperator
public class ServiceOperator
Holds the information about the operator of a service.
| Field Summary | |
|---|---|
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(anon.crypto.JAPCertificate operatorCertificate)
Creates a ServiceOperator just by his Certificate |
|
ServiceOperator(org.w3c.dom.Node a_node,
anon.crypto.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)
|
anon.crypto.JAPCertificate |
getCertificate()
Returns the operator certificate. |
anon.crypto.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
| Constructor Detail |
|---|
public ServiceOperator(anon.crypto.JAPCertificate operatorCertificate)
operatorCertificate - the opeartors certificate
public ServiceOperator(org.w3c.dom.Node a_node,
anon.crypto.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 AbstractDatabaseEntrypublic long getLastUpdate()
getLastUpdate in class AbstractDatabaseEntrypublic java.lang.String getId()
getId in class AbstractDatabaseEntrypublic 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 anon.crypto.MultiCertPath getCertPath()
public anon.crypto.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.Objectpublic 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 | ||||||||