@Entity(name="AlternateOf") public class AlternateOf extends AStatement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, AlternateOf
Java class for Alternate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Alternate"> <complexContent> <extension base="{http://www.w3.org/ns/prov#}AStatement"> <sequence> <element name="alternate1" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="alternate2" type="{http://www.w3.org/ns/prov#}IDRef"/> </sequence> </extension> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Field and Description |
---|---|
protected QualifiedName |
alternate1 |
protected QualifiedName |
alternate2 |
pk
Constructor and Description |
---|
AlternateOf() |
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 |
getAlternate1()
Gets the value of the alternate1 property.
|
QualifiedName |
getAlternate2()
Gets the value of the alternate2 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 |
setAlternate1(QualifiedName value)
Sets the value of the alternate1 property.
|
void |
setAlternate2(QualifiedName value)
Sets the value of the alternate2 property.
|
getPk, setPk
protected QualifiedName alternate1
protected QualifiedName alternate2
public QualifiedName getAlternate1()
getAlternate1
in interface AlternateOf
IDRef
public void setAlternate1(QualifiedName value)
setAlternate1
in interface AlternateOf
value
- allowed object is
IDRef
public QualifiedName getAlternate2()
getAlternate2
in interface AlternateOf
IDRef
public void setAlternate2(QualifiedName value)
setAlternate2
in interface AlternateOf
value
- allowed object is
IDRef
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.