public class ServiceOperator extends AbstractDatabaseEntry
| Modifier and Type | Field and Description |
|---|---|
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 |
XML_ATTR_LAST_UPDATE, XML_LAST_UPDATE| Constructor and Description |
|---|
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).
|
| Modifier and Type | Method and Description |
|---|---|
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) |
deletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime, setExpireTimepublic 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
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.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 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.Objectpublic boolean equals(java.lang.Object a_obj)
equals in class java.lang.ObjectCopyright © 2023. All rights reserved.