Class Patch
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Patch
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public class Patch extends java.lang.Object implements java.io.SerializableJava 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatch.PatchUsageJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected XYPaircenterprotected java.lang.Floatdensityprotected java.lang.StringexternalIDprotected java.util.List<java.lang.Float>labprotected java.lang.FloatneutralDensityprotected Patch.PatchUsagepatchUsageprotected java.util.List<java.lang.Float>rgbprotected java.util.List<SeparationTint>separationTintprotected XYPairsizeprotected java.util.List<java.lang.Float>spectrum
-
Constructor Summary
Constructors Constructor Description Patch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)XYPairgetCenter()Gets the value of the center property.java.lang.FloatgetDensity()Gets the value of the density property.java.lang.StringgetExternalID()Gets the value of the externalID property.java.util.List<java.lang.Float>getLab()Gets the value of the lab property.java.lang.FloatgetNeutralDensity()Gets the value of the neutralDensity property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.Patch.PatchUsagegetPatchUsage()Gets the value of the patchUsage property.java.util.List<java.lang.Float>getRGB()Gets the value of the rgb property.java.util.List<SeparationTint>getSeparationTint()Gets the value of the separationTint property.XYPairgetSize()Gets the value of the size property.java.util.List<java.lang.Float>getSpectrum()Gets the value of the spectrum property.inthashCode()voidsetCenter(XYPair value)Sets the value of the center property.voidsetDensity(java.lang.Float value)Sets the value of the density property.voidsetExternalID(java.lang.String value)Sets the value of the externalID property.voidsetNeutralDensity(java.lang.Float value)Sets the value of the neutralDensity property.voidsetPatchUsage(Patch.PatchUsage value)Sets the value of the patchUsage property.voidsetSize(XYPair value)Sets the value of the size property.PatchwithCenter(XYPair value)PatchwithDensity(java.lang.Float value)PatchwithExternalID(java.lang.String value)PatchwithLab(java.lang.Float... values)PatchwithLab(java.util.Collection<java.lang.Float> values)PatchwithNeutralDensity(java.lang.Float value)PatchwithPatchUsage(Patch.PatchUsage value)PatchwithRGB(java.lang.Float... values)PatchwithRGB(java.util.Collection<java.lang.Float> values)PatchwithSeparationTint(java.util.Collection<SeparationTint> values)PatchwithSeparationTint(SeparationTint... values)PatchwithSize(XYPair value)PatchwithSpectrum(java.lang.Float... values)PatchwithSpectrum(java.util.Collection<java.lang.Float> values)
-
-
-
Field Detail
-
separationTint
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<SeparationTint> separationTint
-
center
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected XYPair center
-
density
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.Float density
-
externalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String externalID
-
lab
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<java.lang.Float> lab
-
neutralDensity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.Float neutralDensity
-
patchUsage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected Patch.PatchUsage patchUsage
-
rgb
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<java.lang.Float> rgb
-
size
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected XYPair size
-
spectrum
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<java.lang.Float> spectrum
-
-
Method Detail
-
getSeparationTint
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.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 Jakarta XML Binding object. This is why there is not a
setmethod 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.1", date="2022-12-21T00:11:33Z") 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.1", date="2022-12-21T00:11:33Z") public void setCenter(XYPair value)Sets the value of the center property.- Parameters:
value- allowed object isString
-
getDensity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.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.1", date="2022-12-21T00:11:33Z") public void setDensity(java.lang.Float value)Sets the value of the density property.- Parameters:
value- allowed object isFloat
-
getExternalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.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.1", date="2022-12-21T00:11:33Z") public void setExternalID(java.lang.String value)Sets the value of the externalID property.- Parameters:
value- allowed object isString
-
getLab
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.List<java.lang.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 Jakarta XML Binding object. This is why there is not a
setmethod 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.1", date="2022-12-21T00:11:33Z") public java.lang.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.1", date="2022-12-21T00:11:33Z") public void setNeutralDensity(java.lang.Float value)Sets the value of the neutralDensity property.- Parameters:
value- allowed object isFloat
-
getPatchUsage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") 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.1", date="2022-12-21T00:11:33Z") public void setPatchUsage(Patch.PatchUsage value)Sets the value of the patchUsage property.- Parameters:
value- allowed object isPatch.PatchUsage
-
getRGB
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.List<java.lang.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 Jakarta XML Binding object. This is why there is not a
setmethod 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.1", date="2022-12-21T00:11:33Z") 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.1", date="2022-12-21T00:11:33Z") public void setSize(XYPair value)Sets the value of the size property.- Parameters:
value- allowed object isString
-
getSpectrum
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.List<java.lang.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 Jakarta XML Binding object. This is why there is not a
setmethod 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.
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.Map<javax.xml.namespace.QName,java.lang.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(java.util.Collection<SeparationTint> values)
-
withDensity
public Patch withDensity(java.lang.Float value)
-
withExternalID
public Patch withExternalID(java.lang.String value)
-
withLab
public Patch withLab(java.lang.Float... values)
-
withLab
public Patch withLab(java.util.Collection<java.lang.Float> values)
-
withNeutralDensity
public Patch withNeutralDensity(java.lang.Float value)
-
withPatchUsage
public Patch withPatchUsage(Patch.PatchUsage value)
-
withRGB
public Patch withRGB(java.lang.Float... values)
-
withRGB
public Patch withRGB(java.util.Collection<java.lang.Float> values)
-
withSpectrum
public Patch withSpectrum(java.lang.Float... values)
-
withSpectrum
public Patch withSpectrum(java.util.Collection<java.lang.Float> values)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-