Class ModuleInstanceCT
- java.lang.Object
-
- fi.tut.mei.resdescapi.rdapi.model.rd.ModuleInstanceCT
-
public class ModuleInstanceCT extends Object
Named instance of a module. TODO: Is this used?Java class for ModuleInstance_CT complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModuleInstance_CT"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="DescriptionURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> <group ref="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}g_Documentation"/> <element name="SerialNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="category" use="required" type="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}ModuleCategory_ST" /> <attribute name="type" use="required" type="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}ModuleRefType_CT" /> <attribute name="bay" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="address" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
address
protected BigInteger
bay
protected ModuleCategoryST
category
protected List<LocalizedStringCT>
comment
protected String
descriptionURL
protected List<DocumentationCT>
documentation
protected String
id
protected List<LocalizedStringCT>
label
protected BigInteger
serialNumber
protected String
type
-
Constructor Summary
Constructors Constructor Description ModuleInstanceCT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Gets the value of the address property.BigInteger
getBay()
Gets the value of the bay property.ModuleCategoryST
getCategory()
Gets the value of the category property.List<LocalizedStringCT>
getComment()
Gets the value of the comment property.String
getDescriptionURL()
Gets the value of the descriptionURL property.List<DocumentationCT>
getDocumentation()
Gets the value of the documentation property.String
getId()
Gets the value of the id property.List<LocalizedStringCT>
getLabel()
Gets the value of the label property.BigInteger
getSerialNumber()
Gets the value of the serialNumber property.String
getType()
Gets the value of the type property.void
setAddress(String value)
Sets the value of the address property.void
setBay(BigInteger value)
Sets the value of the bay property.void
setCategory(ModuleCategoryST value)
Sets the value of the category property.void
setDescriptionURL(String value)
Sets the value of the descriptionURL property.void
setId(String value)
Sets the value of the id property.void
setSerialNumber(BigInteger value)
Sets the value of the serialNumber property.void
setType(String value)
Sets the value of the type property.
-
-
-
Field Detail
-
descriptionURL
protected String descriptionURL
-
label
protected List<LocalizedStringCT> label
-
comment
protected List<LocalizedStringCT> comment
-
documentation
protected List<DocumentationCT> documentation
-
serialNumber
protected BigInteger serialNumber
-
id
protected String id
-
category
protected ModuleCategoryST category
-
type
protected String type
-
bay
protected BigInteger bay
-
address
protected String address
-
-
Method Detail
-
getDescriptionURL
public String getDescriptionURL()
Gets the value of the descriptionURL property.- Returns:
- possible object is
String
-
setDescriptionURL
public void setDescriptionURL(String value)
Sets the value of the descriptionURL property.- Parameters:
value
- allowed object isString
-
getLabel
public List<LocalizedStringCT> getLabel()
Gets the value of the label 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
set
method for the label property.For example, to add a new item, do as follows:
getLabel().add(newItem);
Objects of the following type(s) are allowed in the list
LocalizedStringCT
-
getComment
public List<LocalizedStringCT> getComment()
Gets the value of the comment 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
set
method for the comment property.For example, to add a new item, do as follows:
getComment().add(newItem);
Objects of the following type(s) are allowed in the list
LocalizedStringCT
-
getDocumentation
public List<DocumentationCT> getDocumentation()
Gets the value of the documentation 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
set
method for the documentation property.For example, to add a new item, do as follows:
getDocumentation().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentationCT
-
getSerialNumber
public BigInteger getSerialNumber()
Gets the value of the serialNumber property.- Returns:
- possible object is
BigInteger
-
setSerialNumber
public void setSerialNumber(BigInteger value)
Sets the value of the serialNumber property.- Parameters:
value
- allowed object isBigInteger
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getCategory
public ModuleCategoryST getCategory()
Gets the value of the category property.- Returns:
- possible object is
ModuleCategoryST
-
setCategory
public void setCategory(ModuleCategoryST value)
Sets the value of the category property.- Parameters:
value
- allowed object isModuleCategoryST
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
getBay
public BigInteger getBay()
Gets the value of the bay property.- Returns:
- possible object is
BigInteger
-
setBay
public void setBay(BigInteger value)
Sets the value of the bay property.- Parameters:
value
- allowed object isBigInteger
-
getAddress
public String getAddress()
Gets the value of the address property.- Returns:
- possible object is
String
-
-