Class FunctionType
- java.lang.Object
-
- eu.esu._2010.lokprogrammer.metadata.FunctionType
-
public class FunctionType extends Object
Java class for FunctionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FunctionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" maxOccurs="unbounded" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> </extension> </simpleContent> </complexType> </element> <element name="slot" maxOccurs="unbounded" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>byte"> <attribute name="volume" type="{http://www.w3.org/2001/XMLSchema}short" /> </extension> </simpleContent> </complexType> </element> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}byte" /> <attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionType.DescriptionJava class for anonymous complex type.static classFunctionType.SlotJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<FunctionType.Description>descriptionprotected Byteidprotected List<FunctionType.Slot>slotprotected Stringuser
-
Constructor Summary
Constructors Constructor Description FunctionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)List<FunctionType.Description>getDescription()Gets the value of the description property.BytegetId()Gets the value of the id property.List<FunctionType.Slot>getSlot()Gets the value of the slot property.StringgetUser()Gets the value of the user property.inthashCode()voidsetId(Byte value)Sets the value of the id property.voidsetUser(String value)Sets the value of the user property.StringtoString()FunctionTypewithDescription(FunctionType.Description... values)FunctionTypewithDescription(Collection<FunctionType.Description> values)FunctionTypewithId(Byte value)FunctionTypewithSlot(FunctionType.Slot... values)FunctionTypewithSlot(Collection<FunctionType.Slot> values)FunctionTypewithUser(String value)
-
-
-
Field Detail
-
description
protected List<FunctionType.Description> description
-
slot
protected List<FunctionType.Slot> slot
-
id
protected Byte id
-
user
protected String user
-
-
Method Detail
-
getDescription
public List<FunctionType.Description> getDescription()
Gets the value of the description 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 description property.For example, to add a new item, do as follows:
getDescription().add(newItem);Objects of the following type(s) are allowed in the list
FunctionType.Description
-
getSlot
public List<FunctionType.Slot> getSlot()
Gets the value of the slot 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 slot property.For example, to add a new item, do as follows:
getSlot().add(newItem);Objects of the following type(s) are allowed in the list
FunctionType.Slot
-
setId
public void setId(Byte value)
Sets the value of the id property.- Parameters:
value- allowed object isByte
-
getUser
public String getUser()
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
public void setUser(String value)
Sets the value of the user property.- Parameters:
value- allowed object isString
-
withDescription
public FunctionType withDescription(FunctionType.Description... values)
-
withDescription
public FunctionType withDescription(Collection<FunctionType.Description> values)
-
withSlot
public FunctionType withSlot(FunctionType.Slot... values)
-
withSlot
public FunctionType withSlot(Collection<FunctionType.Slot> values)
-
withId
public FunctionType withId(Byte value)
-
withUser
public FunctionType withUser(String value)
-
-