Class Resource
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Resource
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Resource 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}AmountPool" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}GeneralID" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Part" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource" minOccurs="0"/> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Brand" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="CommentURL" type="{http://www.CIP4.org/JDFSchema_2_0}URL" /> <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Duration" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="Expires" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="ExternalID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="GrossWeight" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="Orientation" type="{http://www.CIP4.org/JDFSchema_2_0}Orientation" /> <attribute name="ResourceWeight" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="Start" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="StartOffset" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="Status"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Available"/> <enumeration value="Unavailable"/> </restriction> </simpleType> </attribute> <attribute name="Transformation" type="{http://www.CIP4.org/JDFSchema_2_0}matrix" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResource.StatusJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected AmountPoolamountPoolprotected java.util.List<java.lang.Object>anyprotected java.lang.Stringbrandprotected java.util.List<Comment>commentprotected URIcommentURLprotected java.lang.StringdescriptiveNameprotected Durationdurationprotected DateTimeexpiresprotected java.lang.StringexternalIDprotected java.util.List<GeneralID>generalIDprotected java.lang.FloatgrossWeightprotected java.lang.Stringidprotected Orientationorientationprotected java.util.List<Part>partprotected java.lang.FloatresourceWeightprotected javax.xml.bind.JAXBElement<? extends SpecificResource>specificResourceprotected DateTimestartprotected DurationstartOffsetprotected Resource.Statusstatusprotected Matrixtransformation
-
Constructor Summary
Constructors Constructor Description Resource()
-
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)AmountPoolgetAmountPool()Gets the value of the amountPool property.java.util.List<java.lang.Object>getAny()Gets the value of the any property.java.lang.StringgetBrand()Gets the value of the brand property.java.util.List<Comment>getComment()Gets the value of the comment property.URIgetCommentURL()Gets the value of the commentURL property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.DurationgetDuration()Gets the value of the duration property.DateTimegetExpires()Gets the value of the expires property.java.lang.StringgetExternalID()Gets the value of the externalID property.java.util.List<GeneralID>getGeneralID()Gets the value of the generalID property.java.lang.FloatgetGrossWeight()Gets the value of the grossWeight property.java.lang.StringgetID()Gets the value of the id property.OrientationgetOrientation()Gets the value of the orientation 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.java.util.List<Part>getPart()Gets the value of the part property.java.lang.FloatgetResourceWeight()Gets the value of the resourceWeight property.javax.xml.bind.JAXBElement<? extends SpecificResource>getSpecificResource()Gets the value of the specificResource property.DateTimegetStart()Gets the value of the start property.DurationgetStartOffset()Gets the value of the startOffset property.Resource.StatusgetStatus()Gets the value of the status property.MatrixgetTransformation()Gets the value of the transformation property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAmountPool(AmountPool value)Sets the value of the amountPool property.voidsetBrand(java.lang.String value)Sets the value of the brand property.voidsetCommentURL(URI value)Sets the value of the commentURL property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetDuration(Duration value)Sets the value of the duration property.voidsetExpires(DateTime value)Sets the value of the expires property.voidsetExternalID(java.lang.String value)Sets the value of the externalID property.voidsetGrossWeight(java.lang.Float value)Sets the value of the grossWeight property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetOrientation(Orientation value)Sets the value of the orientation property.voidsetResourceWeight(java.lang.Float value)Sets the value of the resourceWeight property.voidsetSpecificResource(javax.xml.bind.JAXBElement<? extends SpecificResource> value)Sets the value of the specificResource property.voidsetStart(DateTime value)Sets the value of the start property.voidsetStartOffset(Duration value)Sets the value of the startOffset property.voidsetStatus(Resource.Status value)Sets the value of the status property.voidsetTransformation(Matrix value)Sets the value of the transformation property.ResourcewithAmountPool(AmountPool value)ResourcewithAny(java.lang.Object... values)ResourcewithAny(java.util.Collection<java.lang.Object> values)ResourcewithBrand(java.lang.String value)ResourcewithComment(java.util.Collection<Comment> values)ResourcewithComment(Comment... values)ResourcewithCommentURL(URI value)ResourcewithDescriptiveName(java.lang.String value)ResourcewithDuration(Duration value)ResourcewithExpires(DateTime value)ResourcewithExternalID(java.lang.String value)ResourcewithGeneralID(java.util.Collection<GeneralID> values)ResourcewithGeneralID(GeneralID... values)ResourcewithGrossWeight(java.lang.Float value)ResourcewithID(java.lang.String value)ResourcewithOrientation(Orientation value)ResourcewithPart(java.util.Collection<Part> values)ResourcewithPart(Part... values)ResourcewithResourceWeight(java.lang.Float value)ResourcewithSpecificResource(javax.xml.bind.JAXBElement<? extends SpecificResource> value)ResourcewithStart(DateTime value)ResourcewithStartOffset(Duration value)ResourcewithStatus(Resource.Status value)ResourcewithTransformation(Matrix value)
-
-
-
Field Detail
-
amountPool
protected AmountPool amountPool
-
comment
protected java.util.List<Comment> comment
-
generalID
protected java.util.List<GeneralID> generalID
-
part
protected java.util.List<Part> part
-
specificResource
protected javax.xml.bind.JAXBElement<? extends SpecificResource> specificResource
-
any
protected java.util.List<java.lang.Object> any
-
brand
protected java.lang.String brand
-
commentURL
protected URI commentURL
-
descriptiveName
protected java.lang.String descriptiveName
-
duration
protected Duration duration
-
expires
protected DateTime expires
-
externalID
protected java.lang.String externalID
-
grossWeight
protected java.lang.Float grossWeight
-
id
protected java.lang.String id
-
orientation
protected Orientation orientation
-
resourceWeight
protected java.lang.Float resourceWeight
-
start
protected DateTime start
-
startOffset
protected Duration startOffset
-
status
protected Resource.Status status
-
transformation
protected Matrix transformation
-
-
Method Detail
-
getAmountPool
public AmountPool getAmountPool()
Gets the value of the amountPool property.- Returns:
- possible object is
AmountPool
-
setAmountPool
public void setAmountPool(AmountPool value)
Sets the value of the amountPool property.- Parameters:
value- allowed object isAmountPool
-
getComment
public java.util.List<Comment> getComment()
Gets the value of the comment 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 comment property.For example, to add a new item, do as follows:
getComment().add(newItem);Objects of the following type(s) are allowed in the list
Comment
-
getGeneralID
public java.util.List<GeneralID> getGeneralID()
Gets the value of the generalID 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 generalID property.For example, to add a new item, do as follows:
getGeneralID().add(newItem);Objects of the following type(s) are allowed in the list
GeneralID
-
getPart
public java.util.List<Part> getPart()
Gets the value of the part 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 part property.For example, to add a new item, do as follows:
getPart().add(newItem);Objects of the following type(s) are allowed in the list
Part
-
getSpecificResource
public javax.xml.bind.JAXBElement<? extends SpecificResource> getSpecificResource()
Gets the value of the specificResource property.- Returns:
- possible object is
JAXBElement<ThreadSewingParams>JAXBElement<RasterReadingParams>JAXBElement<PreflightReport>JAXBElement<Pallet>JAXBElement<Preview>JAXBElement<FoldingParams>JAXBElement<CreasingParams>JAXBElement<ColorSpaceConversionParams>JAXBElement<DigitalPrintingParams>JAXBElement<DevelopingParams>JAXBElement<CustomerInfo>JAXBElement<ConventionalPrintingParams>JAXBElement<QualityControlParams>JAXBElement<FontPolicy>JAXBElement<RegisterMark>JAXBElement<Bundle>JAXBElement<DieLayoutProductionParams>JAXBElement<LayoutElementProductionParams>JAXBElement<NodeInfo>JAXBElement<StitchingParams>JAXBElement<Device>JAXBElement<SpineTapingParams>JAXBElement<BundlingParams>JAXBElement<LayoutShift>JAXBElement<EndSheetGluingParams>JAXBElement<BinderySignature>JAXBElement<WebInlineFinishingParams>JAXBElement<GluingParams>JAXBElement<ColorCorrectionParams>JAXBElement<ImageSetterParams>JAXBElement<SeparationControlParams>JAXBElement<BendingParams>JAXBElement<PalletizingParams>JAXBElement<QualityControlResult>JAXBElement<TrimmingParams>JAXBElement<CoverApplicationParams>JAXBElement<CuttingParams>JAXBElement<DieLayout>JAXBElement<ManualLaborParams>JAXBElement<JacketingParams>JAXBElement<EmbossingParams>JAXBElement<LooseBindingParams>JAXBElement<ExposedMedia>JAXBElement<TrappingParams>JAXBElement<BlockPreparationParams>JAXBElement<TransferCurve>JAXBElement<ShapeCuttingParams>JAXBElement<PreviewGenerationParams>JAXBElement<StackingParams>JAXBElement<WrappingParams>JAXBElement<ColorantControl>JAXBElement<Ink>JAXBElement<RunList>JAXBElement<RenderingParams>JAXBElement<Media>JAXBElement<Component>JAXBElement<InkZoneProfile>JAXBElement<SpinePreparationParams>JAXBElement<Color>JAXBElement<Contact>JAXBElement<Layout>JAXBElement<ScreeningParams>JAXBElement<VarnishingParams>JAXBElement<VerificationParams>JAXBElement<ApprovalDetails>JAXBElement<Content>JAXBElement<PreflightParams>JAXBElement<ImageEnhancementParams>JAXBElement<LaminatingParams>JAXBElement<BarcodeReproParams>JAXBElement<MiscConsumable>JAXBElement<ShapeDef>JAXBElement<ShapeDefProductionParams>JAXBElement<ShrinkingParams>JAXBElement<DeliveryParams>JAXBElement<ImageCompressionParams>JAXBElement<PrintCondition>JAXBElement<ApprovalParams>JAXBElement<BarcodeCompParams>JAXBElement<SheetOptimizingParams>JAXBElement<Assembly>JAXBElement<StrappingParams>JAXBElement<InkZoneCalculationParams>JAXBElement<BoxFoldingParams>JAXBElement<CasingInParams>JAXBElement<ScavengerArea>JAXBElement<PDLCreationParams>JAXBElement<WindingParams>JAXBElement<PackingParams>JAXBElement<FeedingParams>JAXBElement<ThreadSealingParams>JAXBElement<PerforatingParams>JAXBElement<VerificationParams>JAXBElement<Shape>JAXBElement<InterpretingParams>JAXBElement<CaseMakingParams>JAXBElement<HoleMakingParams>JAXBElement<HeadBandApplicationParams>JAXBElement<LabelingParams>JAXBElement<UsageCounter>JAXBElement<BoxPackingParams>JAXBElement<InsertingParams>JAXBElement<Tool>JAXBElement<SpecificResource>
-
setSpecificResource
public void setSpecificResource(javax.xml.bind.JAXBElement<? extends SpecificResource> value)
Sets the value of the specificResource property.- Parameters:
value- allowed object isJAXBElement<ThreadSewingParams>JAXBElement<RasterReadingParams>JAXBElement<PreflightReport>JAXBElement<Pallet>JAXBElement<Preview>JAXBElement<FoldingParams>JAXBElement<CreasingParams>JAXBElement<ColorSpaceConversionParams>JAXBElement<DigitalPrintingParams>JAXBElement<DevelopingParams>JAXBElement<CustomerInfo>JAXBElement<ConventionalPrintingParams>JAXBElement<QualityControlParams>JAXBElement<FontPolicy>JAXBElement<RegisterMark>JAXBElement<Bundle>JAXBElement<DieLayoutProductionParams>JAXBElement<LayoutElementProductionParams>JAXBElement<NodeInfo>JAXBElement<StitchingParams>JAXBElement<Device>JAXBElement<SpineTapingParams>JAXBElement<BundlingParams>JAXBElement<LayoutShift>JAXBElement<EndSheetGluingParams>JAXBElement<BinderySignature>JAXBElement<WebInlineFinishingParams>JAXBElement<GluingParams>JAXBElement<ColorCorrectionParams>JAXBElement<ImageSetterParams>JAXBElement<SeparationControlParams>JAXBElement<BendingParams>JAXBElement<PalletizingParams>JAXBElement<QualityControlResult>JAXBElement<TrimmingParams>JAXBElement<CoverApplicationParams>JAXBElement<CuttingParams>JAXBElement<DieLayout>JAXBElement<ManualLaborParams>JAXBElement<JacketingParams>JAXBElement<EmbossingParams>JAXBElement<LooseBindingParams>JAXBElement<ExposedMedia>JAXBElement<TrappingParams>JAXBElement<BlockPreparationParams>JAXBElement<TransferCurve>JAXBElement<ShapeCuttingParams>JAXBElement<PreviewGenerationParams>JAXBElement<StackingParams>JAXBElement<WrappingParams>JAXBElement<ColorantControl>JAXBElement<Ink>JAXBElement<RunList>JAXBElement<RenderingParams>JAXBElement<Media>JAXBElement<Component>JAXBElement<InkZoneProfile>JAXBElement<SpinePreparationParams>JAXBElement<Color>JAXBElement<Contact>JAXBElement<Layout>JAXBElement<ScreeningParams>JAXBElement<VarnishingParams>JAXBElement<VerificationParams>JAXBElement<ApprovalDetails>JAXBElement<Content>JAXBElement<PreflightParams>JAXBElement<ImageEnhancementParams>JAXBElement<LaminatingParams>JAXBElement<BarcodeReproParams>JAXBElement<MiscConsumable>JAXBElement<ShapeDef>JAXBElement<ShapeDefProductionParams>JAXBElement<ShrinkingParams>JAXBElement<DeliveryParams>JAXBElement<ImageCompressionParams>JAXBElement<PrintCondition>JAXBElement<ApprovalParams>JAXBElement<BarcodeCompParams>JAXBElement<SheetOptimizingParams>JAXBElement<Assembly>JAXBElement<StrappingParams>JAXBElement<InkZoneCalculationParams>JAXBElement<BoxFoldingParams>JAXBElement<CasingInParams>JAXBElement<ScavengerArea>JAXBElement<PDLCreationParams>JAXBElement<WindingParams>JAXBElement<PackingParams>JAXBElement<FeedingParams>JAXBElement<ThreadSealingParams>JAXBElement<PerforatingParams>JAXBElement<VerificationParams>JAXBElement<Shape>JAXBElement<InterpretingParams>JAXBElement<CaseMakingParams>JAXBElement<HoleMakingParams>JAXBElement<HeadBandApplicationParams>JAXBElement<LabelingParams>JAXBElement<UsageCounter>JAXBElement<BoxPackingParams>JAXBElement<InsertingParams>JAXBElement<Tool>JAXBElement<SpecificResource>
-
getAny
public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 any property.For example, to add a new item, do as follows:
getAny().add(newItem);Objects of the following type(s) are allowed in the list
ElementObject
-
getBrand
public java.lang.String getBrand()
Gets the value of the brand property.- Returns:
- possible object is
String
-
setBrand
public void setBrand(java.lang.String value)
Sets the value of the brand property.- Parameters:
value- allowed object isString
-
getCommentURL
public URI getCommentURL()
Gets the value of the commentURL property.- Returns:
- possible object is
String
-
setCommentURL
public void setCommentURL(URI value)
Sets the value of the commentURL 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
-
getDuration
public Duration getDuration()
Gets the value of the duration property.- Returns:
- possible object is
String
-
setDuration
public void setDuration(Duration value)
Sets the value of the duration property.- Parameters:
value- allowed object isString
-
getExpires
public DateTime getExpires()
Gets the value of the expires property.- Returns:
- possible object is
String
-
setExpires
public void setExpires(DateTime value)
Sets the value of the expires property.- Parameters:
value- allowed object isString
-
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
-
getGrossWeight
public java.lang.Float getGrossWeight()
Gets the value of the grossWeight property.- Returns:
- possible object is
Float
-
setGrossWeight
public void setGrossWeight(java.lang.Float value)
Sets the value of the grossWeight property.- Parameters:
value- allowed object isFloat
-
getID
public java.lang.String getID()
Gets the value of the id property.- Returns:
- possible object is
String
-
setID
public void setID(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getOrientation
public Orientation getOrientation()
Gets the value of the orientation property.- Returns:
- possible object is
Orientation
-
setOrientation
public void setOrientation(Orientation value)
Sets the value of the orientation property.- Parameters:
value- allowed object isOrientation
-
getResourceWeight
public java.lang.Float getResourceWeight()
Gets the value of the resourceWeight property.- Returns:
- possible object is
Float
-
setResourceWeight
public void setResourceWeight(java.lang.Float value)
Sets the value of the resourceWeight property.- Parameters:
value- allowed object isFloat
-
getStart
public DateTime getStart()
Gets the value of the start property.- Returns:
- possible object is
String
-
setStart
public void setStart(DateTime value)
Sets the value of the start property.- Parameters:
value- allowed object isString
-
getStartOffset
public Duration getStartOffset()
Gets the value of the startOffset property.- Returns:
- possible object is
String
-
setStartOffset
public void setStartOffset(Duration value)
Sets the value of the startOffset property.- Parameters:
value- allowed object isString
-
getStatus
public Resource.Status getStatus()
Gets the value of the status property.- Returns:
- possible object is
Resource.Status
-
setStatus
public void setStatus(Resource.Status value)
Sets the value of the status property.- Parameters:
value- allowed object isResource.Status
-
getTransformation
public Matrix getTransformation()
Gets the value of the transformation property.- Returns:
- possible object is
String
-
setTransformation
public void setTransformation(Matrix value)
Sets the value of the transformation property.- Parameters:
value- allowed object isString
-
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
-
withAmountPool
public Resource withAmountPool(AmountPool value)
-
withSpecificResource
public Resource withSpecificResource(javax.xml.bind.JAXBElement<? extends SpecificResource> value)
-
withAny
public Resource withAny(java.lang.Object... values)
-
withAny
public Resource withAny(java.util.Collection<java.lang.Object> values)
-
withBrand
public Resource withBrand(java.lang.String value)
-
withDescriptiveName
public Resource withDescriptiveName(java.lang.String value)
-
withExternalID
public Resource withExternalID(java.lang.String value)
-
withGrossWeight
public Resource withGrossWeight(java.lang.Float value)
-
withID
public Resource withID(java.lang.String value)
-
withOrientation
public Resource withOrientation(Orientation value)
-
withResourceWeight
public Resource withResourceWeight(java.lang.Float value)
-
withStatus
public Resource withStatus(Resource.Status value)
-
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
-
-