@Entity(name="HadMember") public class HadMember extends AStatement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, HadMember
Java class for Membership complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Membership"> <complexContent> <extension base="{http://www.w3.org/ns/prov#}AStatement"> <sequence> <element name="collection" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="entity" type="{http://www.w3.org/ns/prov#}IDRef" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Field and Description |
---|---|
protected QualifiedName |
collection |
protected List<QualifiedName> |
entity |
pk
Constructor and Description |
---|
HadMember() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
QualifiedName |
getCollection()
Gets the value of the collection property.
|
List<QualifiedName> |
getEntity()
Gets the value of the entity property.
|
StatementOrBundle.Kind |
getKind()
Gets the type of a provenance statement
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCollection(QualifiedName value)
Sets the value of the collection property.
|
void |
setEntity(List<QualifiedName> entity) |
getPk, setPk
protected QualifiedName collection
protected List<QualifiedName> entity
public QualifiedName getCollection()
getCollection
in interface HadMember
IDRef
public void setCollection(QualifiedName value)
setCollection
in interface HadMember
value
- allowed object is
IDRef
public List<QualifiedName> getEntity()
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 entity property.
For example, to add a new item, do as follows:
getEntity().add(newItem);
Objects of the following type(s) are allowed in the list
IDRef
public void setEntity(List<QualifiedName> entity)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
equals
in class AStatement
public boolean equals(Object object)
equals
in class AStatement
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class AStatement
public int hashCode()
hashCode
in class AStatement
public StatementOrBundle.Kind getKind()
StatementOrBundle
getKind
in interface StatementOrBundle
getKind
in class AStatement
StatementOrBundle.Kind
Copyright © 2013. All Rights Reserved.