public class Property extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{}list-item" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="date"/> <enumeration value="duration"/> <enumeration value="float"/> <enumeration value="int"/> <enumeration value="text"/> <enumeration value="text-list"/> <enumeration value="cost"/> </restriction> </simpleType> </attribute> <attribute name="owner"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="project"/> <enumeration value="task"/> <enumeration value="resource"/> </restriction> </simpleType> </attribute> <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected String |
label |
protected List<ListItem> |
listItem |
protected String |
name |
protected String |
owner |
protected String |
type |
protected String |
value |
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getLabel()
Gets the value of the label property.
|
List<ListItem> |
getListItem()
Gets the value of the listItem property.
|
String |
getName()
Gets the value of the name property.
|
String |
getOwner()
Gets the value of the owner property.
|
String |
getType()
Gets the value of the type property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOwner(String value)
Sets the value of the owner property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected String name
protected String type
protected String owner
protected String label
protected String description
protected String value
public List<ListItem> getListItem()
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 Jakarta XML Binding object.
This is why there is not a set
method for the listItem property.
For example, to add a new item, do as follows:
getListItem().add(newItem);
Objects of the following type(s) are allowed in the list
ListItem
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getOwner()
String
public void setOwner(String value)
value
- allowed object is
String
public String getLabel()
String
public void setLabel(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public String getValue()
String
Copyright © 2000–2024 Packwood Software. All rights reserved.