|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openprovenance.model.WasControlledBy
public class WasControlledBy
Java class for WasControlledBy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WasControlledBy"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="effect" type="{http://openprovenance.org/model/v1.1.a}ProcessRef"/> <element name="role" type="{http://openprovenance.org/model/v1.1.a}Role"/> <element name="cause" type="{http://openprovenance.org/model/v1.1.a}AgentRef"/> <element name="account" type="{http://openprovenance.org/model/v1.1.a}AccountRef" maxOccurs="unbounded" minOccurs="0"/> <element name="startTime" type="{http://openprovenance.org/model/v1.1.a}OTime" minOccurs="0"/> <element name="endTime" type="{http://openprovenance.org/model/v1.1.a}OTime" minOccurs="0"/> <element ref="{http://openprovenance.org/model/v1.1.a}annotation" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<AccountRef> |
account
|
protected List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> |
annotation
|
protected AgentRef |
cause
|
protected ProcessRef |
effect
|
protected OTime |
endTime
|
protected String |
id
|
protected Role |
role
|
protected OTime |
startTime
|
Constructor Summary | |
---|---|
WasControlledBy()
|
Method Summary | |
---|---|
boolean |
equals(Object object)
|
void |
equals(Object object,
EqualsBuilder equalsBuilder)
|
List<AccountRef> |
getAccount()
Gets the value of the account property. |
List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> |
getAnnotation()
Gets the value of the annotation property. |
AgentRef |
getCause()
Gets the value of the cause property. |
ProcessRef |
getEffect()
Gets the value of the effect property. |
OTime |
getEndTime()
Gets the value of the endTime property. |
String |
getId()
Gets the value of the id property. |
Role |
getRole()
Gets the value of the role property. |
OTime |
getStartTime()
Gets the value of the startTime property. |
int |
hashCode()
|
void |
hashCode(HashCodeBuilder hashCodeBuilder)
|
void |
setCause(AgentRef value)
Sets the value of the cause property. |
void |
setEffect(ProcessRef value)
Sets the value of the effect property. |
void |
setEndTime(OTime value)
Sets the value of the endTime property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setRole(Role value)
Sets the value of the role property. |
void |
setStartTime(OTime value)
Sets the value of the startTime property. |
String |
toString()
|
void |
toString(ToStringBuilder toStringBuilder)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ProcessRef effect
protected Role role
protected AgentRef cause
protected List<AccountRef> account
protected OTime startTime
protected OTime endTime
protected List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotation
protected String id
Constructor Detail |
---|
public WasControlledBy()
Method Detail |
---|
public ProcessRef getEffect()
getEffect
in interface Edge
ProcessRef
public void setEffect(ProcessRef value)
value
- allowed object is
ProcessRef
public Role getRole()
Role
public void setRole(Role value)
value
- allowed object is
Role
public AgentRef getCause()
getCause
in interface Edge
AgentRef
public void setCause(AgentRef value)
value
- allowed object is
AgentRef
public List<AccountRef> getAccount()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the account property.
For example, to add a new item, do as follows:
getAccount().add(newItem);
Objects of the following type(s) are allowed in the list
AccountRef
getAccount
in interface HasAccounts
public OTime getStartTime()
OTime
public void setStartTime(OTime value)
value
- allowed object is
OTime
public OTime getEndTime()
OTime
public void setEndTime(OTime value)
value
- allowed object is
OTime
public List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> getAnnotation()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the annotation property.
For example, to add a new item, do as follows:
getAnnotation().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
Type
>
JAXBElement
<
Label
>
JAXBElement
<
PName
>
JAXBElement
<
Profile
>
JAXBElement
<
EmbeddedAnnotation
>
JAXBElement
<
Value
>
getAnnotation
in interface Annotable
public String getId()
getId
in interface Identifiable
String
public void setId(String value)
setId
in interface Identifiable
value
- allowed object is
String
public void equals(Object object, EqualsBuilder equalsBuilder)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public boolean equals(Object object)
equals
in class Object
public void hashCode(HashCodeBuilder hashCodeBuilder)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class Object
public void toString(ToStringBuilder toStringBuilder)
toString
in interface org.jvnet.jaxb2_commons.lang.ToString
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |