Class Icon
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Icon
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Icon 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}FileSpec" minOccurs="0"/> </sequence> <attribute name="BitDepth" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="IconUsage"> <simpleType> <list itemType="{http://www.CIP4.org/JDFSchema_2_0}DeviceStatus" /> </simpleType> </attribute> <attribute name="Size" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Icon()
-
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)intgetBitDepth()Gets the value of the bitDepth property.FileSpecgetFileSpec()Gets the value of the fileSpec property.java.util.List<DeviceStatus>getIconUsage()Gets the value of the iconUsage 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.XYPairgetSize()Gets the value of the size property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBitDepth(int value)Sets the value of the bitDepth property.voidsetFileSpec(FileSpec value)Sets the value of the fileSpec property.voidsetSize(XYPair value)Sets the value of the size property.IconwithBitDepth(int value)IconwithFileSpec(FileSpec value)IconwithIconUsage(java.util.Collection<DeviceStatus> values)IconwithIconUsage(DeviceStatus... values)IconwithSize(XYPair value)
-
-
-
Field Detail
-
fileSpec
protected FileSpec fileSpec
-
bitDepth
protected int bitDepth
-
iconUsage
protected java.util.List<DeviceStatus> iconUsage
-
size
protected XYPair size
-
-
Method Detail
-
getFileSpec
public FileSpec getFileSpec()
Gets the value of the fileSpec property.- Returns:
- possible object is
FileSpec
-
setFileSpec
public void setFileSpec(FileSpec value)
Sets the value of the fileSpec property.- Parameters:
value- allowed object isFileSpec
-
getBitDepth
public int getBitDepth()
Gets the value of the bitDepth property.
-
setBitDepth
public void setBitDepth(int value)
Sets the value of the bitDepth property.
-
getIconUsage
public java.util.List<DeviceStatus> getIconUsage()
Gets the value of the iconUsage 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 iconUsage property.For example, to add a new item, do as follows:
getIconUsage().add(newItem);Objects of the following type(s) are allowed in the list
DeviceStatus
-
getSize
public XYPair getSize()
Gets the value of the size property.- Returns:
- possible object is
String
-
setSize
public void setSize(XYPair value)
Sets the value of the size 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
-
withBitDepth
public Icon withBitDepth(int value)
-
withIconUsage
public Icon withIconUsage(DeviceStatus... values)
-
withIconUsage
public Icon withIconUsage(java.util.Collection<DeviceStatus> values)
-
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
-
-