|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openprovenance.model.EmbeddedAnnotation
org.openprovenance.model.Annotation
public class Annotation
Java class for Annotation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Annotation">
<complexContent>
<extension base="{http://openprovenance.org/model/v1.1.a}EmbeddedAnnotation">
<sequence>
<choice minOccurs="0">
<element name="externalSubject" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="localSubject" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
externalSubject
|
protected Object |
localSubject
|
| Fields inherited from class org.openprovenance.model.EmbeddedAnnotation |
|---|
account, annotation, id, property |
| Constructor Summary | |
|---|---|
Annotation()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
void |
equals(Object object,
EqualsBuilder equalsBuilder)
|
String |
getExternalSubject()
Gets the value of the externalSubject property. |
Object |
getLocalSubject()
Gets the value of the localSubject property. |
int |
hashCode()
|
void |
hashCode(HashCodeBuilder hashCodeBuilder)
|
void |
setExternalSubject(String value)
Sets the value of the externalSubject property. |
void |
setLocalSubject(Object value)
Sets the value of the localSubject property. |
String |
toString()
|
void |
toString(ToStringBuilder toStringBuilder)
|
| Methods inherited from class org.openprovenance.model.EmbeddedAnnotation |
|---|
getAccount, getAnnotation, getId, getProperty, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String externalSubject
protected Object localSubject
| Constructor Detail |
|---|
public Annotation()
| Method Detail |
|---|
public String getExternalSubject()
Stringpublic void setExternalSubject(String value)
value - allowed object is
Stringpublic Object getLocalSubject()
Objectpublic void setLocalSubject(Object value)
value - allowed object is
Object
public void equals(Object object,
EqualsBuilder equalsBuilder)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class EmbeddedAnnotationpublic boolean equals(Object object)
equals in class EmbeddedAnnotationpublic void hashCode(HashCodeBuilder hashCodeBuilder)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class EmbeddedAnnotationpublic int hashCode()
hashCode in class EmbeddedAnnotationpublic void toString(ToStringBuilder toStringBuilder)
toString in interface org.jvnet.jaxb2_commons.lang.ToStringtoString in class EmbeddedAnnotationpublic String toString()
toString in class EmbeddedAnnotation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||