public class ChannelType extends Object implements Child
Java class for channel.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="channel.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type" minOccurs="0"/>
</all>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
<attribute name="name" use="required" type="{http://www.w3.org/2003/InkML}channelName.type" />
<attribute name="type" default="decimal">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="integer"/>
<enumeration value="decimal"/>
<enumeration value="double"/>
<enumeration value="boolean"/>
</restriction>
</simpleType>
</attribute>
<attribute name="default" default="0">
<simpleType>
<union memberTypes=" {http://www.w3.org/2001/XMLSchema}decimal {http://www.w3.org/2003/InkML}booleanStr.type">
</union>
</simpleType>
</attribute>
<attribute name="min" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="max" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="orientation" default="+ve">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="+ve"/>
<enumeration value="-ve"/>
</restriction>
</simpleType>
</attribute>
<attribute name="respectTo" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="units" type="{http://www.w3.org/2003/InkML}units.type" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
_default |
protected String |
id |
protected MappingType |
mapping |
protected BigDecimal |
max |
protected BigDecimal |
min |
protected String |
name |
protected String |
orientation |
protected String |
respectTo |
protected String |
type |
protected String |
units |
| Constructor and Description |
|---|
ChannelType() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
String |
getDefault()
Gets the value of the default property.
|
String |
getId()
Gets the value of the id property.
|
MappingType |
getMapping()
Gets the value of the mapping property.
|
BigDecimal |
getMax()
Gets the value of the max property.
|
BigDecimal |
getMin()
Gets the value of the min property.
|
String |
getName()
Gets the value of the name property.
|
String |
getOrientation()
Gets the value of the orientation property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
String |
getRespectTo()
Gets the value of the respectTo property.
|
String |
getType()
Gets the value of the type property.
|
String |
getUnits()
Gets the value of the units property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setMapping(MappingType value)
Sets the value of the mapping property.
|
void |
setMax(BigDecimal value)
Sets the value of the max property.
|
void |
setMin(BigDecimal value)
Sets the value of the min property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOrientation(String value)
Sets the value of the orientation property.
|
void |
setParent(Object parent) |
void |
setRespectTo(String value)
Sets the value of the respectTo property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setUnits(String value)
Sets the value of the units property.
|
protected MappingType mapping
protected String id
protected String name
protected String type
protected String _default
protected BigDecimal min
protected BigDecimal max
protected String orientation
protected String respectTo
protected String units
public MappingType getMapping()
MappingTypepublic void setMapping(MappingType value)
value - allowed object is
MappingTypepublic void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getDefault()
Stringpublic void setDefault(String value)
value - allowed object is
Stringpublic BigDecimal getMin()
BigDecimalpublic void setMin(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getMax()
BigDecimalpublic void setMax(BigDecimal value)
value - allowed object is
BigDecimalpublic String getOrientation()
Stringpublic void setOrientation(String value)
value - allowed object is
Stringpublic String getRespectTo()
Stringpublic void setRespectTo(String value)
value - allowed object is
Stringpublic String getUnits()
Stringpublic void setUnits(String value)
value - allowed object is
Stringpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2019. All Rights Reserved.