Class Patch

java.lang.Object
org.cip4.lib.xjdf.schema.Patch
All Implemented Interfaces:
Serializable

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public class Patch extends Object implements Serializable

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" />
       <attribute name="SpotType">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="Emulated"/>
             <enumeration value="Spot"/>
           </restriction>
         </simpleType>
       </attribute>
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • separationTint

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<SeparationTint> separationTint
    • center

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected XYPair center
    • density

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Float density
    • externalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String externalID
    • lab

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<Float> lab
    • neutralDensity

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Float neutralDensity
    • patchUsage

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Patch.PatchUsage patchUsage
    • rgb

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<Float> rgb
    • size

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected XYPair size
    • spectrum

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<Float> spectrum
    • spotType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Patch.SpotType spotType
  • Constructor Details

    • Patch

      public Patch()
  • Method Details

    • getSeparationTint

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") 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

      Returns:
      The value of the separationTint property.
    • getCenter

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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

      Returns:
      The value of the lab property.
    • getNeutralDensity

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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

      Returns:
      The value of the rgb property.
    • getSize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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

      Returns:
      The value of the spectrum property.
    • getSpotType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public Patch.SpotType getSpotType()
      Gets the value of the spotType property.
      Returns:
      possible object is Patch.SpotType
    • setSpotType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setSpotType(Patch.SpotType value)
      Sets the value of the spotType property.
      Parameters:
      value - allowed object is Patch.SpotType
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") 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)
    • withSpotType

      public Patch withSpotType(Patch.SpotType value)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object