public class QualifiedHadMember extends HadMember implements Equals, HashCode, ToString, QualifiedHadMember, HasAllAttributes
Java class for Communication complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Communication"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="informed" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="informant" type="{http://www.w3.org/ns/prov#}IDRef"/> <element ref="{http://www.w3.org/ns/prov#}label" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.w3.org/ns/prov#}type" maxOccurs="unbounded" minOccurs="0"/> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute ref="{http://www.w3.org/ns/prov#}id"/> </restriction> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Field and Description |
---|---|
protected List<Attribute> |
all |
protected QualifiedName |
id |
protected List<LangString> |
label |
protected List<Other> |
others |
protected List<Type> |
type |
collection, entity
Constructor and Description |
---|
QualifiedHadMember() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
void |
equals(Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder) |
List<Attribute> |
getAllAttributes()
Gets the List of all attributes
|
QualifiedName |
getId()
Gets the value of the id property.
|
StatementOrBundle.Kind |
getKind()
Gets the type of a provenance statement
|
List<LangString> |
getLabel()
Gets the value of the label property.
|
List<Other> |
getOther()
Gets the list of non-PROV attributes.
|
List<Type> |
getType()
Gets the value of the type property.
|
int |
hashCode() |
void |
hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) |
void |
setId(QualifiedName value)
Sets the value of the id property.
|
String |
toString() |
void |
toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder) |
getCollection, getEntity, setCollection
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCollection, getEntity, setCollection
protected List<LangString> label
protected QualifiedName id
public List<LangString> getLabel()
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 label property.
For example, to add a new item, do as follows:
getLabel().add(newItem);
Objects of the following type(s) are allowed in the list
InternationalizedString
public List<Type> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
Type
public List<Other> getOther()
HasOther
This accessor method returns a reference to the live list,
not a snapshot. Therefore, any modification made to the
returned list will be present inside the object.
This is why there is not a set
method for the role property.
For example, to add a new item, do as follows:
getOther().add(newItem);
public List<Attribute> getAllAttributes()
getAllAttributes
in interface HasAllAttributes
HasAllAttributes.getAllAttributes()
public QualifiedName getId()
getId
in interface Identifiable
QualifiedName
public void setId(QualifiedName value)
setId
in interface Identifiable
value
- allowed object is
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
getKind
in class HadMember
StatementOrBundle.Kind
Copyright © 2016. All rights reserved.