Class DeviceInfo
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.DeviceInfo
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class DeviceInfo 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}Activity" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Event" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}FileSpec" maxOccurs="2" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}JobPhase" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="CounterUnit" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="EndTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="HourCounter" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="IdleStartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="ModuleIDs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="PowerOnTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="ProductionCounter" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="Speed" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="Status" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}DeviceStatus" /> <attribute name="StatusDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ToolIDs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="TotalProductionCounter" type="{http://www.w3.org/2001/XMLSchema}float" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Activity>activityprotected java.lang.StringcounterUnitprotected DateTimeendTimeprotected java.util.List<Event>eventprotected java.util.List<FileSpec>fileSpecprotected DurationhourCounterprotected DateTimeidleStartTimeprotected java.util.List<JobPhase>jobPhaseprotected java.util.List<java.lang.String>moduleIDsprotected DateTimepowerOnTimeprotected java.lang.FloatproductionCounterprotected java.lang.Floatspeedprotected DeviceStatusstatusprotected java.lang.StringstatusDetailsprotected java.util.List<java.lang.String>toolIDsprotected java.lang.FloattotalProductionCounter
-
Constructor Summary
Constructors Constructor Description DeviceInfo()
-
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.util.List<Activity>getActivity()Gets the value of the activity property.java.lang.StringgetCounterUnit()Gets the value of the counterUnit property.DateTimegetEndTime()Gets the value of the endTime property.java.util.List<Event>getEvent()Gets the value of the event property.java.util.List<FileSpec>getFileSpec()Gets the value of the fileSpec property.DurationgetHourCounter()Gets the value of the hourCounter property.DateTimegetIdleStartTime()Gets the value of the idleStartTime property.java.util.List<JobPhase>getJobPhase()Gets the value of the jobPhase property.java.util.List<java.lang.String>getModuleIDs()Gets the value of the moduleIDs 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.DateTimegetPowerOnTime()Gets the value of the powerOnTime property.java.lang.FloatgetProductionCounter()Gets the value of the productionCounter property.java.lang.FloatgetSpeed()Gets the value of the speed property.DeviceStatusgetStatus()Gets the value of the status property.java.lang.StringgetStatusDetails()Gets the value of the statusDetails property.java.util.List<java.lang.String>getToolIDs()Gets the value of the toolIDs property.java.lang.FloatgetTotalProductionCounter()Gets the value of the totalProductionCounter property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCounterUnit(java.lang.String value)Sets the value of the counterUnit property.voidsetEndTime(DateTime value)Sets the value of the endTime property.voidsetHourCounter(Duration value)Sets the value of the hourCounter property.voidsetIdleStartTime(DateTime value)Sets the value of the idleStartTime property.voidsetPowerOnTime(DateTime value)Sets the value of the powerOnTime property.voidsetProductionCounter(java.lang.Float value)Sets the value of the productionCounter property.voidsetSpeed(java.lang.Float value)Sets the value of the speed property.voidsetStatus(DeviceStatus value)Sets the value of the status property.voidsetStatusDetails(java.lang.String value)Sets the value of the statusDetails property.voidsetTotalProductionCounter(java.lang.Float value)Sets the value of the totalProductionCounter property.DeviceInfowithActivity(java.util.Collection<Activity> values)DeviceInfowithActivity(Activity... values)DeviceInfowithCounterUnit(java.lang.String value)DeviceInfowithEndTime(DateTime value)DeviceInfowithEvent(java.util.Collection<Event> values)DeviceInfowithEvent(Event... values)DeviceInfowithFileSpec(java.util.Collection<FileSpec> values)DeviceInfowithFileSpec(FileSpec... values)DeviceInfowithHourCounter(Duration value)DeviceInfowithIdleStartTime(DateTime value)DeviceInfowithJobPhase(java.util.Collection<JobPhase> values)DeviceInfowithJobPhase(JobPhase... values)DeviceInfowithModuleIDs(java.lang.String... values)DeviceInfowithModuleIDs(java.util.Collection<java.lang.String> values)DeviceInfowithPowerOnTime(DateTime value)DeviceInfowithProductionCounter(java.lang.Float value)DeviceInfowithSpeed(java.lang.Float value)DeviceInfowithStatus(DeviceStatus value)DeviceInfowithStatusDetails(java.lang.String value)DeviceInfowithToolIDs(java.lang.String... values)DeviceInfowithToolIDs(java.util.Collection<java.lang.String> values)DeviceInfowithTotalProductionCounter(java.lang.Float value)
-
-
-
Field Detail
-
activity
protected java.util.List<Activity> activity
-
event
protected java.util.List<Event> event
-
fileSpec
protected java.util.List<FileSpec> fileSpec
-
jobPhase
protected java.util.List<JobPhase> jobPhase
-
counterUnit
protected java.lang.String counterUnit
-
endTime
protected DateTime endTime
-
hourCounter
protected Duration hourCounter
-
idleStartTime
protected DateTime idleStartTime
-
moduleIDs
protected java.util.List<java.lang.String> moduleIDs
-
powerOnTime
protected DateTime powerOnTime
-
productionCounter
protected java.lang.Float productionCounter
-
speed
protected java.lang.Float speed
-
status
protected DeviceStatus status
-
statusDetails
protected java.lang.String statusDetails
-
toolIDs
protected java.util.List<java.lang.String> toolIDs
-
totalProductionCounter
protected java.lang.Float totalProductionCounter
-
-
Method Detail
-
getActivity
public java.util.List<Activity> getActivity()
Gets the value of the activity 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 activity property.For example, to add a new item, do as follows:
getActivity().add(newItem);Objects of the following type(s) are allowed in the list
Activity
-
getEvent
public java.util.List<Event> getEvent()
Gets the value of the event 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 event property.For example, to add a new item, do as follows:
getEvent().add(newItem);Objects of the following type(s) are allowed in the list
Event
-
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
-
getJobPhase
public java.util.List<JobPhase> getJobPhase()
Gets the value of the jobPhase 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 jobPhase property.For example, to add a new item, do as follows:
getJobPhase().add(newItem);Objects of the following type(s) are allowed in the list
JobPhase
-
getCounterUnit
public java.lang.String getCounterUnit()
Gets the value of the counterUnit property.- Returns:
- possible object is
String
-
setCounterUnit
public void setCounterUnit(java.lang.String value)
Sets the value of the counterUnit property.- Parameters:
value- allowed object isString
-
getEndTime
public DateTime getEndTime()
Gets the value of the endTime property.- Returns:
- possible object is
String
-
setEndTime
public void setEndTime(DateTime value)
Sets the value of the endTime property.- Parameters:
value- allowed object isString
-
getHourCounter
public Duration getHourCounter()
Gets the value of the hourCounter property.- Returns:
- possible object is
String
-
setHourCounter
public void setHourCounter(Duration value)
Sets the value of the hourCounter property.- Parameters:
value- allowed object isString
-
getIdleStartTime
public DateTime getIdleStartTime()
Gets the value of the idleStartTime property.- Returns:
- possible object is
String
-
setIdleStartTime
public void setIdleStartTime(DateTime value)
Sets the value of the idleStartTime property.- Parameters:
value- allowed object isString
-
getModuleIDs
public java.util.List<java.lang.String> getModuleIDs()
Gets the value of the moduleIDs 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 moduleIDs property.For example, to add a new item, do as follows:
getModuleIDs().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getPowerOnTime
public DateTime getPowerOnTime()
Gets the value of the powerOnTime property.- Returns:
- possible object is
String
-
setPowerOnTime
public void setPowerOnTime(DateTime value)
Sets the value of the powerOnTime property.- Parameters:
value- allowed object isString
-
getProductionCounter
public java.lang.Float getProductionCounter()
Gets the value of the productionCounter property.- Returns:
- possible object is
Float
-
setProductionCounter
public void setProductionCounter(java.lang.Float value)
Sets the value of the productionCounter property.- Parameters:
value- allowed object isFloat
-
getSpeed
public java.lang.Float getSpeed()
Gets the value of the speed property.- Returns:
- possible object is
Float
-
setSpeed
public void setSpeed(java.lang.Float value)
Sets the value of the speed property.- Parameters:
value- allowed object isFloat
-
getStatus
public DeviceStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
DeviceStatus
-
setStatus
public void setStatus(DeviceStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isDeviceStatus
-
getStatusDetails
public java.lang.String getStatusDetails()
Gets the value of the statusDetails property.- Returns:
- possible object is
String
-
setStatusDetails
public void setStatusDetails(java.lang.String value)
Sets the value of the statusDetails property.- Parameters:
value- allowed object isString
-
getToolIDs
public java.util.List<java.lang.String> getToolIDs()
Gets the value of the toolIDs 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 toolIDs property.For example, to add a new item, do as follows:
getToolIDs().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getTotalProductionCounter
public java.lang.Float getTotalProductionCounter()
Gets the value of the totalProductionCounter property.- Returns:
- possible object is
Float
-
setTotalProductionCounter
public void setTotalProductionCounter(java.lang.Float value)
Sets the value of the totalProductionCounter property.- Parameters:
value- allowed object isFloat
-
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
-
withActivity
public DeviceInfo withActivity(Activity... values)
-
withActivity
public DeviceInfo withActivity(java.util.Collection<Activity> values)
-
withEvent
public DeviceInfo withEvent(Event... values)
-
withEvent
public DeviceInfo withEvent(java.util.Collection<Event> values)
-
withFileSpec
public DeviceInfo withFileSpec(FileSpec... values)
-
withFileSpec
public DeviceInfo withFileSpec(java.util.Collection<FileSpec> values)
-
withJobPhase
public DeviceInfo withJobPhase(JobPhase... values)
-
withJobPhase
public DeviceInfo withJobPhase(java.util.Collection<JobPhase> values)
-
withCounterUnit
public DeviceInfo withCounterUnit(java.lang.String value)
-
withEndTime
public DeviceInfo withEndTime(DateTime value)
-
withHourCounter
public DeviceInfo withHourCounter(Duration value)
-
withIdleStartTime
public DeviceInfo withIdleStartTime(DateTime value)
-
withModuleIDs
public DeviceInfo withModuleIDs(java.lang.String... values)
-
withModuleIDs
public DeviceInfo withModuleIDs(java.util.Collection<java.lang.String> values)
-
withPowerOnTime
public DeviceInfo withPowerOnTime(DateTime value)
-
withProductionCounter
public DeviceInfo withProductionCounter(java.lang.Float value)
-
withSpeed
public DeviceInfo withSpeed(java.lang.Float value)
-
withStatus
public DeviceInfo withStatus(DeviceStatus value)
-
withStatusDetails
public DeviceInfo withStatusDetails(java.lang.String value)
-
withToolIDs
public DeviceInfo withToolIDs(java.lang.String... values)
-
withToolIDs
public DeviceInfo withToolIDs(java.util.Collection<java.lang.String> values)
-
withTotalProductionCounter
public DeviceInfo withTotalProductionCounter(java.lang.Float 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
-
-