Package google.registry.xjc.mark
Class XjcMarkProtectionType
java.lang.Object
google.registry.xjc.XjcObject
google.registry.xjc.mark.XjcMarkProtectionType
Java class for protectionType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="protectionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cc" type="{urn:ietf:params:xml:ns:mark-1.0}ccType"/>
<element name="region" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="ruling" type="{urn:ietf:params:xml:ns:mark-1.0}ccType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCc()
Gets the value of the cc property.Gets the value of the region property.Gets the value of the rulings property.void
Sets the value of the cc property.void
Sets the value of the region property.
-
Field Details
-
cc
-
region
-
rulings
-
-
Constructor Details
-
XjcMarkProtectionType
public XjcMarkProtectionType()
-
-
Method Details
-
getCc
Gets the value of the cc property.- Returns:
- possible object is
String
-
setCc
Sets the value of the cc property.- Parameters:
value
- allowed object isString
-
getRegion
Gets the value of the region property.- Returns:
- possible object is
String
-
setRegion
Sets the value of the region property.- Parameters:
value
- allowed object isString
-
getRulings
Gets the value of the rulings property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
For example, to add a new item, do as follows:set
method for the rulings property.getRulings().add(newItem);
Objects of the following type(s) are allowed in the listString
- Returns:
- The value of the rulings property.
-