org.apache.aries.blueprint.jaxb
Class TreferenceList
java.lang.Object
org.apache.aries.blueprint.jaxb.Tcomponent
org.apache.aries.blueprint.jaxb.TserviceReference
org.apache.aries.blueprint.jaxb.TreferenceList
- Direct Known Subclasses:
- TinlinedReferenceList
public class TreferenceList
- extends TserviceReference
The Treference-list builds in the characteristics of the
TserviceReference type to define characteristics of the
. This adds in the characteristics that
only apply to collections of references (e.g., member-type).
Java class for Treference-list complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Treference-list">
<complexContent>
<extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TserviceReference">
<sequence>
<any/>
</sequence>
<attribute name="member-type" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tservice-use" default="service-object" />
</extension>
</complexContent>
</complexType>
Field Summary |
protected java.util.List<java.lang.Object> |
any
|
protected java.lang.String |
memberType
|
Method Summary |
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property. |
java.lang.String |
getMemberType()
Gets the value of the memberType property. |
void |
setMemberType(java.lang.String value)
Sets the value of the memberType property. |
Methods inherited from class org.apache.aries.blueprint.jaxb.TserviceReference |
getAvailability, getComponentName, getDescription, getFilter, getInterface, getReferenceListener, setAvailability, setComponentName, setDescription, setFilter, setInterface |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
any
protected java.util.List<java.lang.Object> any
memberType
protected java.lang.String memberType
TreferenceList
public TreferenceList()
getAny
public java.util.List<java.lang.Object> getAny()
- Gets the value of the any 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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
getMemberType
public java.lang.String getMemberType()
- Gets the value of the memberType property.
- Returns:
- possible object is
String
setMemberType
public void setMemberType(java.lang.String value)
- Sets the value of the memberType property.
- Parameters:
value
- allowed object is
String
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.