Class Patch

java.lang.Object
org.cip4.lib.xjdf.schema.Patch
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public class Patch extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.CIP4.org/JDFSchema_2_0}SeparationTint" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Center" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" />
       <attribute name="Density" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="ExternalID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="Lab" type="{http://www.CIP4.org/JDFSchema_2_0}LabColor" />
       <attribute name="NeutralDensity" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="PatchUsage" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="Color"/>
             <enumeration value="Ignore"/>
             <enumeration value="Image"/>
             <enumeration value="Technical"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="RGB" type="{http://www.CIP4.org/JDFSchema_2_0}sRGBColor" />
       <attribute name="Size" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" />
       <attribute name="Spectrum" type="{http://www.CIP4.org/JDFSchema_2_0}TransferFunction" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • separationTint

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<SeparationTint> separationTint
    • center

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected XYPair center
    • density

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float density
    • externalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String externalID
    • lab

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Float> lab
    • neutralDensity

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float neutralDensity
    • patchUsage

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Patch.PatchUsage patchUsage
    • rgb

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Float> rgb
    • size

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected XYPair size
    • spectrum

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Float> spectrum
  • Constructor Details

    • Patch

      public Patch()
  • Method Details

    • getSeparationTint

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public List<SeparationTint> getSeparationTint()
      Gets the value of the separationTint 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 separationTint property.

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

          getSeparationTint().add(newItem);
       

      Objects of the following type(s) are allowed in the list SeparationTint

    • getCenter

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public XYPair getCenter()
      Gets the value of the center property.
      Returns:
      possible object is String
    • setCenter

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setCenter(XYPair value)
      Sets the value of the center property.
      Parameters:
      value - allowed object is String
    • getDensity

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Float getDensity()
      Gets the value of the density property.
      Returns:
      possible object is Float
    • setDensity

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setDensity(Float value)
      Sets the value of the density property.
      Parameters:
      value - allowed object is Float
    • getExternalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public String getExternalID()
      Gets the value of the externalID property.
      Returns:
      possible object is String
    • setExternalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setExternalID(String value)
      Sets the value of the externalID property.
      Parameters:
      value - allowed object is String
    • getLab

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public List<Float> getLab()
      Gets the value of the lab 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 lab property.

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

          getLab().add(newItem);
       

      Objects of the following type(s) are allowed in the list Float

    • getNeutralDensity

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Float getNeutralDensity()
      Gets the value of the neutralDensity property.
      Returns:
      possible object is Float
    • setNeutralDensity

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setNeutralDensity(Float value)
      Sets the value of the neutralDensity property.
      Parameters:
      value - allowed object is Float
    • getPatchUsage

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Patch.PatchUsage getPatchUsage()
      Gets the value of the patchUsage property.
      Returns:
      possible object is Patch.PatchUsage
    • setPatchUsage

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setPatchUsage(Patch.PatchUsage value)
      Sets the value of the patchUsage property.
      Parameters:
      value - allowed object is Patch.PatchUsage
    • getRGB

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public List<Float> getRGB()
      Gets the value of the rgb 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 rgb property.

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

          getRGB().add(newItem);
       

      Objects of the following type(s) are allowed in the list Float

    • getSize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public XYPair getSize()
      Gets the value of the size property.
      Returns:
      possible object is String
    • setSize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setSize(XYPair value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is String
    • getSpectrum

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public List<Float> getSpectrum()
      Gets the value of the spectrum 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 spectrum property.

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

          getSpectrum().add(newItem);
       

      Objects of the following type(s) are allowed in the list Float

    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.

      the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

      Returns:
      always non-null
    • withSeparationTint

      public Patch withSeparationTint(SeparationTint... values)
    • withSeparationTint

      public Patch withSeparationTint(Collection<SeparationTint> values)
    • withCenter

      public Patch withCenter(XYPair value)
    • withDensity

      public Patch withDensity(Float value)
    • withExternalID

      public Patch withExternalID(String value)
    • withLab

      public Patch withLab(Float... values)
    • withLab

      public Patch withLab(Collection<Float> values)
    • withNeutralDensity

      public Patch withNeutralDensity(Float value)
    • withPatchUsage

      public Patch withPatchUsage(Patch.PatchUsage value)
    • withRGB

      public Patch withRGB(Float... values)
    • withRGB

      public Patch withRGB(Collection<Float> values)
    • withSize

      public Patch withSize(XYPair value)
    • withSpectrum

      public Patch withSpectrum(Float... values)
    • withSpectrum

      public Patch withSpectrum(Collection<Float> values)
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object