com.eurotech.framework.configuration.metatype
Interface AD

All Known Implementing Classes:
Tad

public interface AD

Java class for Tad complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Tad">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Option" type="{http://www.osgi.org/xmlns/metatype/v1.2.0}Toption" maxOccurs="unbounded" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" use="required" type="{http://www.osgi.org/xmlns/metatype/v1.2.0}Tscalar" />
       <attribute name="cardinality" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <anyAttribute/>
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 int getCardinality()
          Gets the value of the cardinality property.
 String getDefault()
          Gets the value of the default property.
 String getDescription()
          Gets the value of the description property.
 String getId()
          Gets the value of the id property.
 String getMax()
          Gets the value of the max property.
 String getMin()
          Gets the value of the min property.
 String getName()
          Gets the value of the name property.
 List<Option> getOption()
          Gets the value of the option property.
 Scalar getType()
          Gets the value of the type property.
 boolean isRequired()
          Gets the value of the required property.
 

Method Detail

getOption

List<Option> getOption()
Gets the value of the option 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 option property.

For example, to add a new item, do as follows:

    getOption().add(newItem);
 

Objects of the following type(s) are allowed in the list Option


getName

String getName()
Gets the value of the name property.

Returns:
possible object is String

getDescription

String getDescription()
Gets the value of the description property.

Returns:
possible object is String

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

getType

Scalar getType()
Gets the value of the type property.

Returns:
possible object is Scalar

getCardinality

int getCardinality()
Gets the value of the cardinality property.

Returns:
possible object is Integer

getMin

String getMin()
Gets the value of the min property.

Returns:
possible object is String

getMax

String getMax()
Gets the value of the max property.

Returns:
possible object is String

getDefault

String getDefault()
Gets the value of the default property.

Returns:
possible object is String

isRequired

boolean isRequired()
Gets the value of the required property.

Returns:
possible object is Boolean


Copyright © 2013. All Rights Reserved.