|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tridas.schema.Year
public class Year
Data type for storing year. Includes a separate suffix attribute and optional certainty value. The actual data value should be a positive integer if suffix BC, AD or BP is used
Java class for year complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="year"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>int"> <attribute name="certainty" type="{http://www.tridas.org/1.2.2}certainty" /> <attribute name="suffix" use="required" type="{http://www.tridas.org/1.2.2}datingSuffix" /> </extension> </simpleContent> </complexType>
Field Summary | |
---|---|
protected Certainty |
certainty
|
protected DatingSuffix |
suffix
|
protected Integer |
value
|
Constructor Summary | |
---|---|
Year()
|
Method Summary | |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
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)
|
Certainty |
getCertainty()
Gets the value of the certainty property. |
DatingSuffix |
getSuffix()
Gets the value of the suffix property. |
Integer |
getValue()
Gets the value of the value property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
boolean |
isSetCertainty()
|
boolean |
isSetSuffix()
|
boolean |
isSetValue()
|
void |
setCertainty(Certainty value)
Sets the value of the certainty property. |
void |
setSuffix(DatingSuffix value)
Sets the value of the suffix property. |
void |
setValue(Integer value)
Sets the value of the value property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Integer value
protected Certainty certainty
protected DatingSuffix suffix
Constructor Detail |
---|
public Year()
Method Detail |
---|
public Integer getValue()
String
public void setValue(Integer value)
value
- allowed object is
String
public boolean isSetValue()
public Certainty getCertainty()
Certainty
public void setCertainty(Certainty value)
value
- allowed object is
Certainty
public boolean isSetCertainty()
public DatingSuffix getSuffix()
DatingSuffix
public void setSuffix(DatingSuffix value)
value
- allowed object is
DatingSuffix
public boolean isSetSuffix()
public String toString()
toString
in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
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
public boolean equals(Object object)
equals
in class Object
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
public int hashCode()
hashCode
in class Object
public Object clone()
clone
in class Object
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |