|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fuberlin.wiwiss.ng4j.swp.impl.SWPAuthorityImpl
public class SWPAuthorityImpl
An SWPAuthority represents information about an authorty like id, label, eMail, keys and certificates
| Constructor Summary | |
|---|---|
SWPAuthorityImpl()
|
|
SWPAuthorityImpl(Node id)
|
|
| Method Summary | |
|---|---|
boolean |
addDescriptionToGraph(NamedGraph graph,
ArrayList listOfAuthorityProperties)
Adds a description of the authority to a graph. |
void |
addProperty(Node predicate,
Node object)
Adds an additional property of the authority. |
X509Certificate |
getCertificate()
|
String |
getEmail()
|
Graph |
getGraph()
Returns a graph containing all information about the authority. |
Node |
getID()
|
String |
getLabel()
|
ExtendedIterator |
getProperty(Node predicate)
Returns an iterator over all property values (nodes) for a given property. |
PublicKey |
getPublicKey()
|
void |
setCertificate(X509Certificate certificate)
Sets the certificate of the authority. |
void |
setEmail(String email)
Sets the eMail address of the authority. |
void |
setID(Node id)
Sets the ID of the authority. |
void |
setLabel(String label)
Sets the Label / Name of the authority. |
void |
setPublicKey(PublicKey key)
Sets the public key of the authority. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SWPAuthorityImpl()
public SWPAuthorityImpl(Node id)
id - | Method Detail |
|---|
public void setID(Node id)
setID in interface SWPAuthorityid - public Node getID()
getID in interface SWPAuthoritypublic void setLabel(String label)
setLabel in interface SWPAuthoritylabel - public String getLabel()
getLabel in interface SWPAuthoritypublic void setEmail(String email)
setEmail in interface SWPAuthorityemail - public String getEmail()
getEmail in interface SWPAuthoritypublic void setPublicKey(PublicKey key)
setPublicKey in interface SWPAuthoritykey - public PublicKey getPublicKey()
getPublicKey in interface SWPAuthoritypublic void setCertificate(X509Certificate certificate)
setCertificate in interface SWPAuthoritycertificate - public X509Certificate getCertificate()
getCertificate in interface SWPAuthority
public void addProperty(Node predicate,
Node object)
addProperty in interface SWPAuthoritypredicate - object - public ExtendedIterator getProperty(Node predicate)
getProperty in interface SWPAuthority
public boolean addDescriptionToGraph(NamedGraph graph,
ArrayList listOfAuthorityProperties)
addDescriptionToGraph in interface SWPAuthoritygraph - listOfAuthorityProperties -
SWPMissingAuthorityPropertyExceptionpublic Graph getGraph()
getGraph in interface SWPAuthority
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||