Class Device
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.Device
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Device extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Device complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Device"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}FileSpec" maxOccurs="2" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}IconList" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}IdentificationField" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Module" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="CostCenterID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="DeviceClass" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="DeviceID" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="DeviceType" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ICSVersions" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="JDFVersions"> <simpleType> <list> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="1.1"/> <enumeration value="1.2"/> <enumeration value="1.3"/> <enumeration value="1.4"/> <enumeration value="1.5"/> <enumeration value="1.6"/> <enumeration value="2.0"/> </restriction> </simpleType> </list> </simpleType> </attribute> <attribute name="KnownLocalizations" type="{http://www.CIP4.org/JDFSchema_2_0}languages" /> <attribute name="Manufacturer" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ManufacturerURL" type="{http://www.CIP4.org/JDFSchema_2_0}URL" /> <attribute name="MaxRunSpeed" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="Packaging"> <simpleType> <list> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="XML"/> <enumeration value="Zip"/> </restriction> </simpleType> </list> </simpleType> </attribute> <attribute name="PresentationURL" type="{http://www.CIP4.org/JDFSchema_2_0}URL" /> <attribute name="Revision" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="SerialNumber" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="URLSchemes" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="XJMFURL" type="{http://www.CIP4.org/JDFSchema_2_0}URL" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDevice.JDFVersionsJava class for null.static classDevice.PackagingJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcostCenterIDprotected java.lang.StringdescriptiveNameprotected java.util.List<java.lang.String>deviceClassprotected java.lang.StringdeviceIDprotected java.lang.StringdeviceTypeprotected java.util.List<FileSpec>fileSpecprotected IconListiconListprotected java.util.List<java.lang.String>icsVersionsprotected java.util.List<IdentificationField>identificationFieldprotected java.util.List<Device.JDFVersions>jdfVersionsprotected java.util.List<java.lang.String>knownLocalizationsprotected java.lang.Stringmanufacturerprotected URImanufacturerURLprotected java.lang.FloatmaxRunSpeedprotected java.util.List<Module>moduleprotected java.util.List<Device.Packaging>packagingprotected URIpresentationURLprotected java.lang.Stringrevisionprotected java.lang.StringserialNumberprotected java.util.List<java.lang.String>urlSchemesprotected URIxjmfurl
-
Constructor Summary
Constructors Constructor Description Device()
-
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.StringgetCostCenterID()Gets the value of the costCenterID property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.util.List<java.lang.String>getDeviceClass()Gets the value of the deviceClass property.java.lang.StringgetDeviceID()Gets the value of the deviceID property.java.lang.StringgetDeviceType()Gets the value of the deviceType property.java.util.List<FileSpec>getFileSpec()Gets the value of the fileSpec property.IconListgetIconList()Gets the value of the iconList property.java.util.List<java.lang.String>getICSVersions()Gets the value of the icsVersions property.java.util.List<IdentificationField>getIdentificationField()Gets the value of the identificationField property.java.util.List<Device.JDFVersions>getJDFVersions()Gets the value of the jdfVersions property.java.util.List<java.lang.String>getKnownLocalizations()Gets the value of the knownLocalizations property.java.lang.StringgetManufacturer()Gets the value of the manufacturer property.URIgetManufacturerURL()Gets the value of the manufacturerURL property.java.lang.FloatgetMaxRunSpeed()Gets the value of the maxRunSpeed property.java.util.List<Module>getModule()Gets the value of the module property.java.util.List<Device.Packaging>getPackaging()Gets the value of the packaging property.URIgetPresentationURL()Gets the value of the presentationURL property.java.lang.StringgetRevision()Gets the value of the revision property.java.lang.StringgetSerialNumber()Gets the value of the serialNumber property.java.util.List<java.lang.String>getURLSchemes()Gets the value of the urlSchemes property.URIgetXJMFURL()Gets the value of the xjmfurl property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCostCenterID(java.lang.String value)Sets the value of the costCenterID property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetDeviceID(java.lang.String value)Sets the value of the deviceID property.voidsetDeviceType(java.lang.String value)Sets the value of the deviceType property.voidsetIconList(IconList value)Sets the value of the iconList property.voidsetManufacturer(java.lang.String value)Sets the value of the manufacturer property.voidsetManufacturerURL(URI value)Sets the value of the manufacturerURL property.voidsetMaxRunSpeed(java.lang.Float value)Sets the value of the maxRunSpeed property.voidsetPresentationURL(URI value)Sets the value of the presentationURL property.voidsetRevision(java.lang.String value)Sets the value of the revision property.voidsetSerialNumber(java.lang.String value)Sets the value of the serialNumber property.voidsetXJMFURL(URI value)Sets the value of the xjmfurl property.DevicewithCostCenterID(java.lang.String value)DevicewithDescriptiveName(java.lang.String value)DevicewithDeviceClass(java.lang.String... values)DevicewithDeviceClass(java.util.Collection<java.lang.String> values)DevicewithDeviceID(java.lang.String value)DevicewithDeviceType(java.lang.String value)DevicewithFileSpec(java.util.Collection<FileSpec> values)DevicewithFileSpec(FileSpec... values)DevicewithIconList(IconList value)DevicewithICSVersions(java.lang.String... values)DevicewithICSVersions(java.util.Collection<java.lang.String> values)DevicewithIdentificationField(java.util.Collection<IdentificationField> values)DevicewithIdentificationField(IdentificationField... values)DevicewithJDFVersions(java.util.Collection<Device.JDFVersions> values)DevicewithJDFVersions(Device.JDFVersions... values)DevicewithKnownLocalizations(java.lang.String... values)DevicewithKnownLocalizations(java.util.Collection<java.lang.String> values)DevicewithManufacturer(java.lang.String value)DevicewithManufacturerURL(URI value)DevicewithMaxRunSpeed(java.lang.Float value)DevicewithModule(java.util.Collection<Module> values)DevicewithModule(Module... values)DevicewithPackaging(java.util.Collection<Device.Packaging> values)DevicewithPackaging(Device.Packaging... values)DevicewithPresentationURL(URI value)DevicewithRevision(java.lang.String value)DevicewithSerialNumber(java.lang.String value)DevicewithURLSchemes(java.lang.String... values)DevicewithURLSchemes(java.util.Collection<java.lang.String> values)DevicewithXJMFURL(URI value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
fileSpec
protected java.util.List<FileSpec> fileSpec
-
iconList
protected IconList iconList
-
identificationField
protected java.util.List<IdentificationField> identificationField
-
module
protected java.util.List<Module> module
-
costCenterID
protected java.lang.String costCenterID
-
descriptiveName
protected java.lang.String descriptiveName
-
deviceClass
protected java.util.List<java.lang.String> deviceClass
-
deviceID
protected java.lang.String deviceID
-
deviceType
protected java.lang.String deviceType
-
icsVersions
protected java.util.List<java.lang.String> icsVersions
-
jdfVersions
protected java.util.List<Device.JDFVersions> jdfVersions
-
knownLocalizations
protected java.util.List<java.lang.String> knownLocalizations
-
manufacturer
protected java.lang.String manufacturer
-
manufacturerURL
protected URI manufacturerURL
-
maxRunSpeed
protected java.lang.Float maxRunSpeed
-
packaging
protected java.util.List<Device.Packaging> packaging
-
presentationURL
protected URI presentationURL
-
revision
protected java.lang.String revision
-
serialNumber
protected java.lang.String serialNumber
-
urlSchemes
protected java.util.List<java.lang.String> urlSchemes
-
xjmfurl
protected URI xjmfurl
-
-
Method Detail
-
getFileSpec
public java.util.List<FileSpec> getFileSpec()
Gets the value of the fileSpec 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 fileSpec property.For example, to add a new item, do as follows:
getFileSpec().add(newItem);Objects of the following type(s) are allowed in the list
FileSpec
-
getIconList
public IconList getIconList()
Gets the value of the iconList property.- Returns:
- possible object is
IconList
-
setIconList
public void setIconList(IconList value)
Sets the value of the iconList property.- Parameters:
value- allowed object isIconList
-
getIdentificationField
public java.util.List<IdentificationField> getIdentificationField()
Gets the value of the identificationField 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 identificationField property.For example, to add a new item, do as follows:
getIdentificationField().add(newItem);Objects of the following type(s) are allowed in the list
IdentificationField
-
getModule
public java.util.List<Module> getModule()
Gets the value of the module 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 module property.For example, to add a new item, do as follows:
getModule().add(newItem);Objects of the following type(s) are allowed in the list
Module
-
getCostCenterID
public java.lang.String getCostCenterID()
Gets the value of the costCenterID property.- Returns:
- possible object is
String
-
setCostCenterID
public void setCostCenterID(java.lang.String value)
Sets the value of the costCenterID property.- Parameters:
value- allowed object isString
-
getDescriptiveName
public java.lang.String getDescriptiveName()
Gets the value of the descriptiveName property.- Returns:
- possible object is
String
-
setDescriptiveName
public void setDescriptiveName(java.lang.String value)
Sets the value of the descriptiveName property.- Parameters:
value- allowed object isString
-
getDeviceClass
public java.util.List<java.lang.String> getDeviceClass()
Gets the value of the deviceClass 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 deviceClass property.For example, to add a new item, do as follows:
getDeviceClass().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getDeviceID
public java.lang.String getDeviceID()
Gets the value of the deviceID property.- Returns:
- possible object is
String
-
setDeviceID
public void setDeviceID(java.lang.String value)
Sets the value of the deviceID property.- Parameters:
value- allowed object isString
-
getDeviceType
public java.lang.String getDeviceType()
Gets the value of the deviceType property.- Returns:
- possible object is
String
-
setDeviceType
public void setDeviceType(java.lang.String value)
Sets the value of the deviceType property.- Parameters:
value- allowed object isString
-
getICSVersions
public java.util.List<java.lang.String> getICSVersions()
Gets the value of the icsVersions 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 icsVersions property.For example, to add a new item, do as follows:
getICSVersions().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getJDFVersions
public java.util.List<Device.JDFVersions> getJDFVersions()
Gets the value of the jdfVersions 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 jdfVersions property.For example, to add a new item, do as follows:
getJDFVersions().add(newItem);Objects of the following type(s) are allowed in the list
Device.JDFVersions
-
getKnownLocalizations
public java.util.List<java.lang.String> getKnownLocalizations()
Gets the value of the knownLocalizations 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 knownLocalizations property.For example, to add a new item, do as follows:
getKnownLocalizations().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getManufacturer
public java.lang.String getManufacturer()
Gets the value of the manufacturer property.- Returns:
- possible object is
String
-
setManufacturer
public void setManufacturer(java.lang.String value)
Sets the value of the manufacturer property.- Parameters:
value- allowed object isString
-
getManufacturerURL
public URI getManufacturerURL()
Gets the value of the manufacturerURL property.- Returns:
- possible object is
String
-
setManufacturerURL
public void setManufacturerURL(URI value)
Sets the value of the manufacturerURL property.- Parameters:
value- allowed object isString
-
getMaxRunSpeed
public java.lang.Float getMaxRunSpeed()
Gets the value of the maxRunSpeed property.- Returns:
- possible object is
Float
-
setMaxRunSpeed
public void setMaxRunSpeed(java.lang.Float value)
Sets the value of the maxRunSpeed property.- Parameters:
value- allowed object isFloat
-
getPackaging
public java.util.List<Device.Packaging> getPackaging()
Gets the value of the packaging 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 packaging property.For example, to add a new item, do as follows:
getPackaging().add(newItem);Objects of the following type(s) are allowed in the list
Device.Packaging
-
getPresentationURL
public URI getPresentationURL()
Gets the value of the presentationURL property.- Returns:
- possible object is
String
-
setPresentationURL
public void setPresentationURL(URI value)
Sets the value of the presentationURL property.- Parameters:
value- allowed object isString
-
getRevision
public java.lang.String getRevision()
Gets the value of the revision property.- Returns:
- possible object is
String
-
setRevision
public void setRevision(java.lang.String value)
Sets the value of the revision property.- Parameters:
value- allowed object isString
-
getSerialNumber
public java.lang.String getSerialNumber()
Gets the value of the serialNumber property.- Returns:
- possible object is
String
-
setSerialNumber
public void setSerialNumber(java.lang.String value)
Sets the value of the serialNumber property.- Parameters:
value- allowed object isString
-
getURLSchemes
public java.util.List<java.lang.String> getURLSchemes()
Gets the value of the urlSchemes 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 urlSchemes property.For example, to add a new item, do as follows:
getURLSchemes().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getXJMFURL
public URI getXJMFURL()
Gets the value of the xjmfurl property.- Returns:
- possible object is
String
-
setXJMFURL
public void setXJMFURL(URI value)
Sets the value of the xjmfurl property.- Parameters:
value- allowed object isString
-
withIdentificationField
public Device withIdentificationField(IdentificationField... values)
-
withIdentificationField
public Device withIdentificationField(java.util.Collection<IdentificationField> values)
-
withCostCenterID
public Device withCostCenterID(java.lang.String value)
-
withDescriptiveName
public Device withDescriptiveName(java.lang.String value)
-
withDeviceClass
public Device withDeviceClass(java.lang.String... values)
-
withDeviceClass
public Device withDeviceClass(java.util.Collection<java.lang.String> values)
-
withDeviceID
public Device withDeviceID(java.lang.String value)
-
withDeviceType
public Device withDeviceType(java.lang.String value)
-
withICSVersions
public Device withICSVersions(java.lang.String... values)
-
withICSVersions
public Device withICSVersions(java.util.Collection<java.lang.String> values)
-
withJDFVersions
public Device withJDFVersions(Device.JDFVersions... values)
-
withJDFVersions
public Device withJDFVersions(java.util.Collection<Device.JDFVersions> values)
-
withKnownLocalizations
public Device withKnownLocalizations(java.lang.String... values)
-
withKnownLocalizations
public Device withKnownLocalizations(java.util.Collection<java.lang.String> values)
-
withManufacturer
public Device withManufacturer(java.lang.String value)
-
withMaxRunSpeed
public Device withMaxRunSpeed(java.lang.Float value)
-
withPackaging
public Device withPackaging(Device.Packaging... values)
-
withPackaging
public Device withPackaging(java.util.Collection<Device.Packaging> values)
-
withRevision
public Device withRevision(java.lang.String value)
-
withSerialNumber
public Device withSerialNumber(java.lang.String value)
-
withURLSchemes
public Device withURLSchemes(java.lang.String... values)
-
withURLSchemes
public Device withURLSchemes(java.util.Collection<java.lang.String> 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
-
-