Class Color
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.Color
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Color extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Color complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Color"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}ColorMeasurementConditions" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}DeviceNColor" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ActualColorName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="CMYK" type="{http://www.CIP4.org/JDFSchema_2_0}CMYKColor" /> <attribute name="ColorBook" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ColorBookEntry" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ColorDetails" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ColorName" type="{http://www.CIP4.org/JDFSchema_2_0}NamedColor" /> <attribute name="ColorType"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="DieLine"/> <enumeration value="Normal"/> <enumeration value="Opaque"/> <enumeration value="OpaqueIgnore"/> <enumeration value="Primer"/> <enumeration value="Transparent"/> </restriction> </simpleType> </attribute> <attribute name="ColorTypeDetails" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Density" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="Gray" type="{http://www.w3.org/2001/XMLSchema}float" /> <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="PrintingTechnology" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="PrintStandard" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="RawName" type="{http://www.w3.org/2001/XMLSchema}hexBinary" /> <attribute name="Spectrum" type="{http://www.CIP4.org/JDFSchema_2_0}TransferFunction" /> <attribute name="sRGB" type="{http://www.CIP4.org/JDFSchema_2_0}sRGBColor" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classColor.ColorTypeJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringactualColorNameprotected java.util.List<java.lang.Float>cmykprotected java.lang.StringcolorBookprotected java.lang.StringcolorBookEntryprotected java.lang.StringcolorDetailsprotected ColorMeasurementConditionscolorMeasurementConditionsprotected java.lang.StringcolorNameprotected Color.ColorTypecolorTypeprotected java.lang.StringcolorTypeDetailsprotected java.lang.Floatdensityprotected java.util.List<DeviceNColor>deviceNColorprotected java.lang.Floatgrayprotected java.util.List<java.lang.Float>labprotected java.lang.FloatneutralDensityprotected java.lang.StringprintingTechnologyprotected java.lang.StringprintStandardprotected byte[]rawNameprotected java.util.List<java.lang.Float>spectrumprotected java.util.List<java.lang.Float>srgb
-
Constructor Summary
Constructors Constructor Description Color()
-
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)java.lang.StringgetActualColorName()Gets the value of the actualColorName property.java.util.List<java.lang.Float>getCMYK()Gets the value of the cmyk property.java.lang.StringgetColorBook()Gets the value of the colorBook property.java.lang.StringgetColorBookEntry()Gets the value of the colorBookEntry property.java.lang.StringgetColorDetails()Gets the value of the colorDetails property.ColorMeasurementConditionsgetColorMeasurementConditions()Gets the value of the colorMeasurementConditions property.java.lang.StringgetColorName()Gets the value of the colorName property.Color.ColorTypegetColorType()Gets the value of the colorType property.java.lang.StringgetColorTypeDetails()Gets the value of the colorTypeDetails property.java.lang.FloatgetDensity()Gets the value of the density property.java.util.List<DeviceNColor>getDeviceNColor()Gets the value of the deviceNColor property.java.lang.FloatgetGray()Gets the value of the gray 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.lang.StringgetPrintingTechnology()Gets the value of the printingTechnology property.java.lang.StringgetPrintStandard()Gets the value of the printStandard property.byte[]getRawName()Gets the value of the rawName property.java.util.List<java.lang.Float>getSpectrum()Gets the value of the spectrum property.java.util.List<java.lang.Float>getSRGB()Gets the value of the srgb property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetActualColorName(java.lang.String value)Sets the value of the actualColorName property.voidsetColorBook(java.lang.String value)Sets the value of the colorBook property.voidsetColorBookEntry(java.lang.String value)Sets the value of the colorBookEntry property.voidsetColorDetails(java.lang.String value)Sets the value of the colorDetails property.voidsetColorMeasurementConditions(ColorMeasurementConditions value)Sets the value of the colorMeasurementConditions property.voidsetColorName(java.lang.String value)Sets the value of the colorName property.voidsetColorType(Color.ColorType value)Sets the value of the colorType property.voidsetColorTypeDetails(java.lang.String value)Sets the value of the colorTypeDetails property.voidsetDensity(java.lang.Float value)Sets the value of the density property.voidsetGray(java.lang.Float value)Sets the value of the gray property.voidsetNeutralDensity(java.lang.Float value)Sets the value of the neutralDensity property.voidsetPrintingTechnology(java.lang.String value)Sets the value of the printingTechnology property.voidsetPrintStandard(java.lang.String value)Sets the value of the printStandard property.voidsetRawName(byte[] value)Sets the value of the rawName property.ColorwithActualColorName(java.lang.String value)ColorwithCMYK(java.lang.Float... values)ColorwithCMYK(java.util.Collection<java.lang.Float> values)ColorwithColorBook(java.lang.String value)ColorwithColorBookEntry(java.lang.String value)ColorwithColorDetails(java.lang.String value)ColorwithColorMeasurementConditions(ColorMeasurementConditions value)ColorwithColorName(java.lang.String value)ColorwithColorType(Color.ColorType value)ColorwithColorTypeDetails(java.lang.String value)ColorwithDensity(java.lang.Float value)ColorwithDeviceNColor(java.util.Collection<DeviceNColor> values)ColorwithDeviceNColor(DeviceNColor... values)ColorwithGray(java.lang.Float value)ColorwithLab(java.lang.Float... values)ColorwithLab(java.util.Collection<java.lang.Float> values)ColorwithNeutralDensity(java.lang.Float value)ColorwithPrintingTechnology(java.lang.String value)ColorwithPrintStandard(java.lang.String value)ColorwithRawName(byte[] value)ColorwithSpectrum(java.lang.Float... values)ColorwithSpectrum(java.util.Collection<java.lang.Float> values)ColorwithSRGB(java.lang.Float... values)ColorwithSRGB(java.util.Collection<java.lang.Float> values)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
colorMeasurementConditions
protected ColorMeasurementConditions colorMeasurementConditions
-
deviceNColor
protected java.util.List<DeviceNColor> deviceNColor
-
actualColorName
protected java.lang.String actualColorName
-
cmyk
protected java.util.List<java.lang.Float> cmyk
-
colorBook
protected java.lang.String colorBook
-
colorBookEntry
protected java.lang.String colorBookEntry
-
colorDetails
protected java.lang.String colorDetails
-
colorName
protected java.lang.String colorName
-
colorType
protected Color.ColorType colorType
-
colorTypeDetails
protected java.lang.String colorTypeDetails
-
density
protected java.lang.Float density
-
gray
protected java.lang.Float gray
-
lab
protected java.util.List<java.lang.Float> lab
-
neutralDensity
protected java.lang.Float neutralDensity
-
printingTechnology
protected java.lang.String printingTechnology
-
printStandard
protected java.lang.String printStandard
-
rawName
protected byte[] rawName
-
spectrum
protected java.util.List<java.lang.Float> spectrum
-
srgb
protected java.util.List<java.lang.Float> srgb
-
-
Method Detail
-
getColorMeasurementConditions
public ColorMeasurementConditions getColorMeasurementConditions()
Gets the value of the colorMeasurementConditions property.- Returns:
- possible object is
ColorMeasurementConditions
-
setColorMeasurementConditions
public void setColorMeasurementConditions(ColorMeasurementConditions value)
Sets the value of the colorMeasurementConditions property.- Parameters:
value- allowed object isColorMeasurementConditions
-
getDeviceNColor
public java.util.List<DeviceNColor> getDeviceNColor()
Gets the value of the deviceNColor 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 deviceNColor property.For example, to add a new item, do as follows:
getDeviceNColor().add(newItem);Objects of the following type(s) are allowed in the list
DeviceNColor
-
getActualColorName
public java.lang.String getActualColorName()
Gets the value of the actualColorName property.- Returns:
- possible object is
String
-
setActualColorName
public void setActualColorName(java.lang.String value)
Sets the value of the actualColorName property.- Parameters:
value- allowed object isString
-
getCMYK
public java.util.List<java.lang.Float> getCMYK()
Gets the value of the cmyk 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 cmyk property.For example, to add a new item, do as follows:
getCMYK().add(newItem);Objects of the following type(s) are allowed in the list
Float
-
getColorBook
public java.lang.String getColorBook()
Gets the value of the colorBook property.- Returns:
- possible object is
String
-
setColorBook
public void setColorBook(java.lang.String value)
Sets the value of the colorBook property.- Parameters:
value- allowed object isString
-
getColorBookEntry
public java.lang.String getColorBookEntry()
Gets the value of the colorBookEntry property.- Returns:
- possible object is
String
-
setColorBookEntry
public void setColorBookEntry(java.lang.String value)
Sets the value of the colorBookEntry property.- Parameters:
value- allowed object isString
-
getColorDetails
public java.lang.String getColorDetails()
Gets the value of the colorDetails property.- Returns:
- possible object is
String
-
setColorDetails
public void setColorDetails(java.lang.String value)
Sets the value of the colorDetails property.- Parameters:
value- allowed object isString
-
getColorName
public java.lang.String getColorName()
Gets the value of the colorName property.- Returns:
- possible object is
String
-
setColorName
public void setColorName(java.lang.String value)
Sets the value of the colorName property.- Parameters:
value- allowed object isString
-
getColorType
public Color.ColorType getColorType()
Gets the value of the colorType property.- Returns:
- possible object is
Color.ColorType
-
setColorType
public void setColorType(Color.ColorType value)
Sets the value of the colorType property.- Parameters:
value- allowed object isColor.ColorType
-
getColorTypeDetails
public java.lang.String getColorTypeDetails()
Gets the value of the colorTypeDetails property.- Returns:
- possible object is
String
-
setColorTypeDetails
public void setColorTypeDetails(java.lang.String value)
Sets the value of the colorTypeDetails 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
-
getGray
public java.lang.Float getGray()
Gets the value of the gray property.- Returns:
- possible object is
Float
-
setGray
public void setGray(java.lang.Float value)
Sets the value of the gray property.- Parameters:
value- allowed object isFloat
-
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
-
getPrintingTechnology
public java.lang.String getPrintingTechnology()
Gets the value of the printingTechnology property.- Returns:
- possible object is
String
-
setPrintingTechnology
public void setPrintingTechnology(java.lang.String value)
Sets the value of the printingTechnology property.- Parameters:
value- allowed object isString
-
getPrintStandard
public java.lang.String getPrintStandard()
Gets the value of the printStandard property.- Returns:
- possible object is
String
-
setPrintStandard
public void setPrintStandard(java.lang.String value)
Sets the value of the printStandard property.- Parameters:
value- allowed object isString
-
getRawName
public byte[] getRawName()
Gets the value of the rawName property.- Returns:
- possible object is
String
-
setRawName
public void setRawName(byte[] value)
Sets the value of the rawName 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
-
getSRGB
public java.util.List<java.lang.Float> getSRGB()
Gets the value of the srgb 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 srgb property.For example, to add a new item, do as follows:
getSRGB().add(newItem);Objects of the following type(s) are allowed in the list
Float
-
withColorMeasurementConditions
public Color withColorMeasurementConditions(ColorMeasurementConditions value)
-
withDeviceNColor
public Color withDeviceNColor(DeviceNColor... values)
-
withDeviceNColor
public Color withDeviceNColor(java.util.Collection<DeviceNColor> values)
-
withActualColorName
public Color withActualColorName(java.lang.String value)
-
withCMYK
public Color withCMYK(java.lang.Float... values)
-
withCMYK
public Color withCMYK(java.util.Collection<java.lang.Float> values)
-
withColorBook
public Color withColorBook(java.lang.String value)
-
withColorBookEntry
public Color withColorBookEntry(java.lang.String value)
-
withColorDetails
public Color withColorDetails(java.lang.String value)
-
withColorName
public Color withColorName(java.lang.String value)
-
withColorType
public Color withColorType(Color.ColorType value)
-
withColorTypeDetails
public Color withColorTypeDetails(java.lang.String value)
-
withDensity
public Color withDensity(java.lang.Float value)
-
withGray
public Color withGray(java.lang.Float value)
-
withLab
public Color withLab(java.lang.Float... values)
-
withLab
public Color withLab(java.util.Collection<java.lang.Float> values)
-
withNeutralDensity
public Color withNeutralDensity(java.lang.Float value)
-
withPrintingTechnology
public Color withPrintingTechnology(java.lang.String value)
-
withPrintStandard
public Color withPrintStandard(java.lang.String value)
-
withRawName
public Color withRawName(byte[] value)
-
withSpectrum
public Color withSpectrum(java.lang.Float... values)
-
withSpectrum
public Color withSpectrum(java.util.Collection<java.lang.Float> values)
-
withSRGB
public Color withSRGB(java.lang.Float... values)
-
withSRGB
public Color withSRGB(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- Overrides:
equalsin classSpecificResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classSpecificResource
-
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- Overrides:
hashCodein classSpecificResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificResource
-
-