Package net.opengis.waterml.v_2_0
Class CommentBlockType
- java.lang.Object
-
- net.opengis.waterml.v_2_0.CommentBlockType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class CommentBlockType extends Object implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Java class for CommentBlockType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommentBlockType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="applicablePeriod" type="{http://www.opengis.net/gml/3.2}TimePeriodPropertyType"/> <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TimePeriodPropertyTypeapplicablePeriodprotected Stringcomment
-
Constructor Summary
Constructors Constructor Description CommentBlockType()Default no-arg constructorCommentBlockType(TimePeriodPropertyType applicablePeriod, String comment)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)TimePeriodPropertyTypegetApplicablePeriod()Gets the value of the applicablePeriod property.StringgetComment()Gets the value of the comment property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetApplicablePeriod()booleanisSetComment()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetApplicablePeriod(TimePeriodPropertyType value)Sets the value of the applicablePeriod property.voidsetComment(String value)Sets the value of the comment property.StringtoString()CommentBlockTypewithApplicablePeriod(TimePeriodPropertyType value)CommentBlockTypewithComment(String value)
-
-
-
Field Detail
-
applicablePeriod
protected TimePeriodPropertyType applicablePeriod
-
comment
protected String comment
-
-
Constructor Detail
-
CommentBlockType
public CommentBlockType()
Default no-arg constructor
-
CommentBlockType
public CommentBlockType(TimePeriodPropertyType applicablePeriod, String comment)
Fully-initialising value constructor
-
-
Method Detail
-
getApplicablePeriod
public TimePeriodPropertyType getApplicablePeriod()
Gets the value of the applicablePeriod property.- Returns:
- possible object is
TimePeriodPropertyType
-
setApplicablePeriod
public void setApplicablePeriod(TimePeriodPropertyType value)
Sets the value of the applicablePeriod property.- Parameters:
value- allowed object isTimePeriodPropertyType
-
isSetApplicablePeriod
public boolean isSetApplicablePeriod()
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
isSetComment
public boolean isSetComment()
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
withApplicablePeriod
public CommentBlockType withApplicablePeriod(TimePeriodPropertyType value)
-
withComment
public CommentBlockType withComment(String value)
-
-