Package org.cip4.lib.xjdf.schema
Class Tool
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.Tool
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public class Tool extends SpecificResource implements java.io.SerializableJava class for Tool complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Tool"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}IdentificationField" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="SerialNumber" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ToolType" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<IdentificationField>identificationFieldprotected java.lang.StringserialNumberprotected java.lang.StringtoolType
-
Constructor Summary
Constructors Constructor Description Tool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.util.List<IdentificationField>getIdentificationField()Gets the value of the identificationField property.java.lang.StringgetSerialNumber()Gets the value of the serialNumber property.java.lang.StringgetToolType()Gets the value of the toolType property.inthashCode()voidsetSerialNumber(java.lang.String value)Sets the value of the serialNumber property.voidsetToolType(java.lang.String value)Sets the value of the toolType property.ToolwithIdentificationField(java.util.Collection<IdentificationField> values)ToolwithIdentificationField(IdentificationField... values)ToolwithSerialNumber(java.lang.String value)ToolwithToolType(java.lang.String value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
identificationField
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected java.util.List<IdentificationField> identificationField
-
serialNumber
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected java.lang.String serialNumber
-
toolType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected java.lang.String toolType
-
-
Method Detail
-
getIdentificationField
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") 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- Returns:
- The value of the identificationField property.
-
getSerialNumber
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public java.lang.String getSerialNumber()Gets the value of the serialNumber property.- Returns:
- possible object is
String
-
setSerialNumber
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public void setSerialNumber(java.lang.String value)Sets the value of the serialNumber property.- Parameters:
value- allowed object isString
-
getToolType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public java.lang.String getToolType()Gets the value of the toolType property.- Returns:
- possible object is
String
-
setToolType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public void setToolType(java.lang.String value)Sets the value of the toolType property.- Parameters:
value- allowed object isString
-
withIdentificationField
public Tool withIdentificationField(IdentificationField... values)
-
withIdentificationField
public Tool withIdentificationField(java.util.Collection<IdentificationField> values)
-
withSerialNumber
public Tool withSerialNumber(java.lang.String value)
-
withToolType
public Tool withToolType(java.lang.String value)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classSpecificResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificResource
-
-