|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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 SWPAuthority
id
- public Node getID()
getID
in interface SWPAuthority
public void setLabel(String label)
setLabel
in interface SWPAuthority
label
- public String getLabel()
getLabel
in interface SWPAuthority
public void setEmail(String email)
setEmail
in interface SWPAuthority
email
- public String getEmail()
getEmail
in interface SWPAuthority
public void setPublicKey(PublicKey key)
setPublicKey
in interface SWPAuthority
key
- public PublicKey getPublicKey()
getPublicKey
in interface SWPAuthority
public void setCertificate(X509Certificate certificate)
setCertificate
in interface SWPAuthority
certificate
- public X509Certificate getCertificate()
getCertificate
in interface SWPAuthority
public void addProperty(Node predicate, Node object)
addProperty
in interface SWPAuthority
predicate
- object
- public ExtendedIterator getProperty(Node predicate)
getProperty
in interface SWPAuthority
public boolean addDescriptionToGraph(NamedGraph graph, ArrayList listOfAuthorityProperties)
addDescriptionToGraph
in interface SWPAuthority
graph
- listOfAuthorityProperties
-
SWPMissingAuthorityPropertyException
public Graph getGraph()
getGraph
in interface SWPAuthority
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |