|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.ncl.cs.instantsoap.wsapi.MetaData
public class MetaData
Information describing an application, an input or output, or other entities.
Fully-configured instances ofMetaData
must have a non-null
name
property. It is strongly encouraged that they should have
non-null description
properties. The semanticAnnotation
may be null.
The semantic annotation is an application-specific Object
. We
encourage you to use a DOM or String encoding an RDF or OWL document. This object
is not coppied or cloned, so you must manage alterations to it carefully.
Constructor Summary | |
---|---|
MetaData()
Create a new instance with null values for all properties. |
|
MetaData(String name)
Create a new instance with the given name. |
|
MetaData(String name,
String description)
Create a new instance with the given name and description. |
|
MetaData(String name,
String description,
Object semanticAnnotation)
Create a new instance with the given name, description and semantic annotation. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getDescription()
Get the description attribute. |
String |
getName()
Get the name attribute. |
Object |
getSemanticAnnotation()
Get the semantic annotation. |
int |
hashCode()
|
void |
setDescription(String description)
Set the description attribute. |
void |
setName(String name)
Set the name attribute. |
void |
setSemanticAnnotation(Object semanticAnnotation)
Set the semantic annotation. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetaData()
public MetaData(String name)
name
- the name to usepublic MetaData(String name, String description)
name
- the name to usedescription
- the description to usepublic MetaData(String name, String description, Object semanticAnnotation)
name
- the name to usedescription
- the description to usesemanticAnnotation
- the semantic annotation Object
Method Detail |
---|
public String getName()
String
public void setName(String name)
name
- the new name String
public String getDescription()
String
public void setDescription(String description)
description
- the new description String
public Object getSemanticAnnotation()
Object
public void setSemanticAnnotation(Object semanticAnnotation)
semanticAnnotation
- the semanticAnnotation Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |