Package org.cip4.lib.xjdf.schema
Class RefAnchor
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.RefAnchor
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class RefAnchor extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Anchor" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}Anchor" /> <attribute name="AnchorType" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Parent"/> <enumeration value="Sibling"/> </restriction> </simpleType> </attribute> <attribute name="rRef" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRefAnchor.AnchorTypeJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected Anchoranchorprotected RefAnchor.AnchorTypeanchorTypeprotected ResourcerRef
-
Constructor Summary
Constructors Constructor Description RefAnchor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)AnchorgetAnchor()Gets the value of the anchor property.RefAnchor.AnchorTypegetAnchorType()Gets the value of the anchorType property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.ResourcegetRRef()Gets the value of the rRef property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAnchor(Anchor value)Sets the value of the anchor property.voidsetAnchorType(RefAnchor.AnchorType value)Sets the value of the anchorType property.voidsetRRef(Resource value)Sets the value of the rRef property.RefAnchorwithAnchor(Anchor value)RefAnchorwithAnchorType(RefAnchor.AnchorType value)RefAnchorwithRRef(Resource value)
-
-
-
Field Detail
-
anchor
protected Anchor anchor
-
anchorType
protected RefAnchor.AnchorType anchorType
-
rRef
protected Resource rRef
-
-
Method Detail
-
getAnchor
public Anchor getAnchor()
Gets the value of the anchor property.- Returns:
- possible object is
Anchor
-
setAnchor
public void setAnchor(Anchor value)
Sets the value of the anchor property.- Parameters:
value- allowed object isAnchor
-
getAnchorType
public RefAnchor.AnchorType getAnchorType()
Gets the value of the anchorType property.- Returns:
- possible object is
RefAnchor.AnchorType
-
setAnchorType
public void setAnchorType(RefAnchor.AnchorType value)
Sets the value of the anchorType property.- Parameters:
value- allowed object isRefAnchor.AnchorType
-
getRRef
public Resource getRRef()
Gets the value of the rRef property.- Returns:
- possible object is
Object
-
setRRef
public void setRRef(Resource value)
Sets the value of the rRef property.- Parameters:
value- allowed object isObject
-
getOtherAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
withAnchorType
public RefAnchor withAnchorType(RefAnchor.AnchorType value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-