Package google.registry.xjc.epp
Class XjcEppDcpExpiryType
java.lang.Object
google.registry.xjc.XjcObject
google.registry.xjc.epp.XjcEppDcpExpiryType
Java class for dcpExpiryType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="dcpExpiryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="absolute" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="relative" type="{http://www.w3.org/2001/XMLSchema}duration"/>
</choice>
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
Gets the value of the absolute property.Gets the value of the relative property.void
setAbsolute
(org.joda.time.DateTime value) Sets the value of the absolute property.void
setRelative
(Duration value) Sets the value of the relative property.
-
Field Details
-
relative
-
absolute
protected org.joda.time.DateTime absolute
-
-
Constructor Details
-
XjcEppDcpExpiryType
public XjcEppDcpExpiryType()
-
-
Method Details
-
getRelative
Gets the value of the relative property.- Returns:
- possible object is
Duration
-
setRelative
Sets the value of the relative property.- Parameters:
value
- allowed object isDuration
-
getAbsolute
public org.joda.time.DateTime getAbsolute()Gets the value of the absolute property.- Returns:
- possible object is
String
-
setAbsolute
public void setAbsolute(org.joda.time.DateTime value) Sets the value of the absolute property.- Parameters:
value
- allowed object isString
-