public class HadMember extends Object implements Equals, HashCode, ToString, HadMember
Java class for Membership complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Membership"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <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> </restriction> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Field and Description |
---|---|
protected QualifiedName |
collection |
protected List<QualifiedName> |
entity |
Constructor and Description |
---|
HadMember() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
void |
equals(Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder) |
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() |
void |
hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) |
void |
setCollection(QualifiedName value)
Sets the value of the collection property.
|
String |
toString() |
void |
toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder) |
protected QualifiedName collection
protected List<QualifiedName> entity
public QualifiedName getCollection()
getCollection
in interface HadMember
QualifiedName
public void setCollection(QualifiedName value)
setCollection
in interface HadMember
value
- allowed object is
QualifiedName
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
QualifiedName
getEntity
in interface HadMember
QualifiedName
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
QualifiedName
public void equals(Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
public StatementOrBundle.Kind getKind()
StatementOrBundle
getKind
in interface StatementOrBundle
StatementOrBundle.Kind
Copyright © 2016. All rights reserved.