Class Module
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Module
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Module 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}IdentificationField" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" /> <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="ModuleID" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ModuleType" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="Revision" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="SerialNumber" type="{http://www.w3.org/2001/XMLSchema}string" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdescriptiveNameprotected java.util.List<IdentificationField>identificationFieldprotected java.lang.Stringmanufacturerprotected URImanufacturerURLprotected java.lang.StringmoduleIDprotected java.util.List<java.lang.String>moduleTypeprotected java.lang.Stringrevisionprotected java.lang.StringserialNumber
-
Constructor Summary
Constructors Constructor Description Module()
-
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.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.util.List<IdentificationField>getIdentificationField()Gets the value of the identificationField property.java.lang.StringgetManufacturer()Gets the value of the manufacturer property.URIgetManufacturerURL()Gets the value of the manufacturerURL property.java.lang.StringgetModuleID()Gets the value of the moduleID property.java.util.List<java.lang.String>getModuleType()Gets the value of the moduleType 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.StringgetRevision()Gets the value of the revision property.java.lang.StringgetSerialNumber()Gets the value of the serialNumber property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetManufacturer(java.lang.String value)Sets the value of the manufacturer property.voidsetManufacturerURL(URI value)Sets the value of the manufacturerURL property.voidsetModuleID(java.lang.String value)Sets the value of the moduleID 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.ModulewithDescriptiveName(java.lang.String value)ModulewithIdentificationField(java.util.Collection<IdentificationField> values)ModulewithIdentificationField(IdentificationField... values)ModulewithManufacturer(java.lang.String value)ModulewithManufacturerURL(URI value)ModulewithModuleID(java.lang.String value)ModulewithModuleType(java.lang.String... values)ModulewithModuleType(java.util.Collection<java.lang.String> values)ModulewithRevision(java.lang.String value)ModulewithSerialNumber(java.lang.String value)
-
-
-
Field Detail
-
identificationField
protected java.util.List<IdentificationField> identificationField
-
descriptiveName
protected java.lang.String descriptiveName
-
manufacturer
protected java.lang.String manufacturer
-
manufacturerURL
protected URI manufacturerURL
-
moduleID
protected java.lang.String moduleID
-
moduleType
protected java.util.List<java.lang.String> moduleType
-
revision
protected java.lang.String revision
-
serialNumber
protected java.lang.String serialNumber
-
-
Method Detail
-
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
-
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
-
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
-
getModuleID
public java.lang.String getModuleID()
Gets the value of the moduleID property.- Returns:
- possible object is
String
-
setModuleID
public void setModuleID(java.lang.String value)
Sets the value of the moduleID property.- Parameters:
value- allowed object isString
-
getModuleType
public java.util.List<java.lang.String> getModuleType()
Gets the value of the moduleType 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 moduleType property.For example, to add a new item, do as follows:
getModuleType().add(newItem);Objects of the following type(s) are allowed in the list
String
-
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
-
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
-
withIdentificationField
public Module withIdentificationField(IdentificationField... values)
-
withIdentificationField
public Module withIdentificationField(java.util.Collection<IdentificationField> values)
-
withDescriptiveName
public Module withDescriptiveName(java.lang.String value)
-
withManufacturer
public Module withManufacturer(java.lang.String value)
-
withModuleID
public Module withModuleID(java.lang.String value)
-
withModuleType
public Module withModuleType(java.lang.String... values)
-
withModuleType
public Module withModuleType(java.util.Collection<java.lang.String> values)
-
withRevision
public Module withRevision(java.lang.String value)
-
withSerialNumber
public Module withSerialNumber(java.lang.String 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
-
-