Class Patch
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Patch
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Patch extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java 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)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)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()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)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
protected java.util.List<SeparationTint> separationTint
-
center
protected XYPair center
-
density
protected java.lang.Float density
-
externalID
protected java.lang.String externalID
-
lab
protected java.util.List<java.lang.Float> lab
-
neutralDensity
protected java.lang.Float neutralDensity
-
patchUsage
protected Patch.PatchUsage patchUsage
-
rgb
protected java.util.List<java.lang.Float> rgb
-
size
protected XYPair size
-
spectrum
protected java.util.List<java.lang.Float> spectrum
-
-
Method Detail
-
getSeparationTint
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 JAXB 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
-
getCenter
public XYPair getCenter()
Gets the value of the center property.- Returns:
- possible object is
String
-
setCenter
public void setCenter(XYPair value)
Sets the value of the center property.- Parameters:
value- allowed object isString
-
getDensity
public java.lang.Float getDensity()
Gets the value of the density property.- Returns:
- possible object is
Float
-
setDensity
public void setDensity(java.lang.Float value)
Sets the value of the density property.- Parameters:
value- allowed object isFloat
-
getExternalID
public java.lang.String getExternalID()
Gets the value of the externalID property.- Returns:
- possible object is
String
-
setExternalID
public void setExternalID(java.lang.String value)
Sets the value of the externalID property.- Parameters:
value- allowed object isString
-
getLab
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 JAXB 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
-
getNeutralDensity
public java.lang.Float getNeutralDensity()
Gets the value of the neutralDensity property.- Returns:
- possible object is
Float
-
setNeutralDensity
public void setNeutralDensity(java.lang.Float value)
Sets the value of the neutralDensity property.- Parameters:
value- allowed object isFloat
-
getPatchUsage
public Patch.PatchUsage getPatchUsage()
Gets the value of the patchUsage property.- Returns:
- possible object is
Patch.PatchUsage
-
setPatchUsage
public void setPatchUsage(Patch.PatchUsage value)
Sets the value of the patchUsage property.- Parameters:
value- allowed object isPatch.PatchUsage
-
getRGB
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 JAXB 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
-
getSize
public XYPair getSize()
Gets the value of the size property.- Returns:
- possible object is
String
-
setSize
public void setSize(XYPair value)
Sets the value of the size property.- Parameters:
value- allowed object isString
-
getSpectrum
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 JAXB 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
-
getOtherAttributes
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(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-