|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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/opmx#}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()
String
public void setExternalSubject(String value)
value
- allowed object is
String
public Object getLocalSubject()
Object
public void setLocalSubject(Object value)
value
- allowed object is
Object
public void equals(Object object, EqualsBuilder equalsBuilder)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
equals
in class EmbeddedAnnotation
public boolean equals(Object object)
equals
in class EmbeddedAnnotation
public void hashCode(HashCodeBuilder hashCodeBuilder)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class EmbeddedAnnotation
public int hashCode()
hashCode
in class EmbeddedAnnotation
public void toString(ToStringBuilder toStringBuilder)
toString
in interface org.jvnet.jaxb2_commons.lang.ToString
toString
in class EmbeddedAnnotation
public String toString()
toString
in class EmbeddedAnnotation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |