Class ResourceSet
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.ResourceSet
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class ResourceSet 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}Comment" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Dependent" 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}Resource" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="CombinedProcessIndex" type="{http://www.CIP4.org/JDFSchema_2_0}IntegerList" /> <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="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ProcessUsage" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Unit" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Usage"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Input"/> <enumeration value="Output"/> </restriction> </simpleType> </attribute> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceSet.UsageJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected IntegerListcombinedProcessIndexprotected java.util.List<Comment>commentprotected URIcommentURLprotected java.util.List<Dependent>dependentprotected java.lang.StringdescriptiveNameprotected java.util.List<GeneralID>generalIDprotected java.lang.Stringidprotected java.lang.Stringnameprotected java.lang.StringprocessUsageprotected java.util.List<Resource>resourceprotected java.lang.Stringunitprotected ResourceSet.Usageusage
-
Constructor Summary
Constructors Constructor Description ResourceSet()
-
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)IntegerListgetCombinedProcessIndex()Gets the value of the combinedProcessIndex property.java.util.List<Comment>getComment()Gets the value of the comment property.URIgetCommentURL()Gets the value of the commentURL property.java.util.List<Dependent>getDependent()Gets the value of the dependent property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.util.List<GeneralID>getGeneralID()Gets the value of the generalID property.java.lang.StringgetID()Gets the value of the id property.java.lang.StringgetName()Gets the value of the name 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.lang.StringgetProcessUsage()Gets the value of the processUsage property.java.util.List<Resource>getResource()Gets the value of the resource property.java.lang.StringgetUnit()Gets the value of the unit property.ResourceSet.UsagegetUsage()Gets the value of the usage property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCombinedProcessIndex(IntegerList value)Sets the value of the combinedProcessIndex property.voidsetCommentURL(URI value)Sets the value of the commentURL property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetProcessUsage(java.lang.String value)Sets the value of the processUsage property.voidsetUnit(java.lang.String value)Sets the value of the unit property.voidsetUsage(ResourceSet.Usage value)Sets the value of the usage property.ResourceSetwithCombinedProcessIndex(IntegerList value)ResourceSetwithComment(java.util.Collection<Comment> values)ResourceSetwithComment(Comment... values)ResourceSetwithCommentURL(URI value)ResourceSetwithDependent(java.util.Collection<Dependent> values)ResourceSetwithDependent(Dependent... values)ResourceSetwithDescriptiveName(java.lang.String value)ResourceSetwithGeneralID(java.util.Collection<GeneralID> values)ResourceSetwithGeneralID(GeneralID... values)ResourceSetwithID(java.lang.String value)ResourceSetwithName(java.lang.String value)ResourceSetwithProcessUsage(java.lang.String value)ResourceSetwithResource(java.util.Collection<Resource> values)ResourceSetwithResource(Resource... values)ResourceSetwithUnit(java.lang.String value)ResourceSetwithUsage(ResourceSet.Usage value)
-
-
-
Field Detail
-
comment
protected java.util.List<Comment> comment
-
dependent
protected java.util.List<Dependent> dependent
-
generalID
protected java.util.List<GeneralID> generalID
-
resource
protected java.util.List<Resource> resource
-
combinedProcessIndex
protected IntegerList combinedProcessIndex
-
commentURL
protected URI commentURL
-
descriptiveName
protected java.lang.String descriptiveName
-
id
protected java.lang.String id
-
name
protected java.lang.String name
-
processUsage
protected java.lang.String processUsage
-
unit
protected java.lang.String unit
-
usage
protected ResourceSet.Usage usage
-
-
Method Detail
-
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
-
getDependent
public java.util.List<Dependent> getDependent()
Gets the value of the dependent 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 dependent property.For example, to add a new item, do as follows:
getDependent().add(newItem);Objects of the following type(s) are allowed in the list
Dependent
-
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
-
getResource
public java.util.List<Resource> getResource()
Gets the value of the resource 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 resource property.For example, to add a new item, do as follows:
getResource().add(newItem);Objects of the following type(s) are allowed in the list
Resource
-
getCombinedProcessIndex
public IntegerList getCombinedProcessIndex()
Gets the value of the combinedProcessIndex property.- Returns:
- possible object is
String
-
setCombinedProcessIndex
public void setCombinedProcessIndex(IntegerList value)
Sets the value of the combinedProcessIndex 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
-
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
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getProcessUsage
public java.lang.String getProcessUsage()
Gets the value of the processUsage property.- Returns:
- possible object is
String
-
setProcessUsage
public void setProcessUsage(java.lang.String value)
Sets the value of the processUsage property.- Parameters:
value- allowed object isString
-
getUnit
public java.lang.String getUnit()
Gets the value of the unit property.- Returns:
- possible object is
String
-
setUnit
public void setUnit(java.lang.String value)
Sets the value of the unit property.- Parameters:
value- allowed object isString
-
getUsage
public ResourceSet.Usage getUsage()
Gets the value of the usage property.- Returns:
- possible object is
ResourceSet.Usage
-
setUsage
public void setUsage(ResourceSet.Usage value)
Sets the value of the usage property.- Parameters:
value- allowed object isResourceSet.Usage
-
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
-
withComment
public ResourceSet withComment(Comment... values)
-
withComment
public ResourceSet withComment(java.util.Collection<Comment> values)
-
withDependent
public ResourceSet withDependent(Dependent... values)
-
withDependent
public ResourceSet withDependent(java.util.Collection<Dependent> values)
-
withGeneralID
public ResourceSet withGeneralID(GeneralID... values)
-
withGeneralID
public ResourceSet withGeneralID(java.util.Collection<GeneralID> values)
-
withResource
public ResourceSet withResource(Resource... values)
-
withResource
public ResourceSet withResource(java.util.Collection<Resource> values)
-
withCombinedProcessIndex
public ResourceSet withCombinedProcessIndex(IntegerList value)
-
withCommentURL
public ResourceSet withCommentURL(URI value)
-
withDescriptiveName
public ResourceSet withDescriptiveName(java.lang.String value)
-
withID
public ResourceSet withID(java.lang.String value)
-
withName
public ResourceSet withName(java.lang.String value)
-
withProcessUsage
public ResourceSet withProcessUsage(java.lang.String value)
-
withUnit
public ResourceSet withUnit(java.lang.String value)
-
withUsage
public ResourceSet withUsage(ResourceSet.Usage 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
-
-