Class XjcMarkProtectionType

java.lang.Object
google.registry.xjc.XjcObject
google.registry.xjc.mark.XjcMarkProtectionType

public class XjcMarkProtectionType extends XjcObject

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 Details

  • Constructor Details

    • XjcMarkProtectionType

      public XjcMarkProtectionType()
  • Method Details

    • getCc

      public String getCc()
      Gets the value of the cc property.
      Returns:
      possible object is String
    • setCc

      public void setCc(String value)
      Sets the value of the cc property.
      Parameters:
      value - allowed object is String
    • getRegion

      public String getRegion()
      Gets the value of the region property.
      Returns:
      possible object is String
    • setRegion

      public void setRegion(String value)
      Sets the value of the region property.
      Parameters:
      value - allowed object is String
    • getRulings

      public List<String> 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 set method for the rulings property.

      For example, to add a new item, do as follows:

       getRulings().add(newItem);
       
      Objects of the following type(s) are allowed in the list String

      Returns:
      The value of the rulings property.