public static class Document.Resources 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="{http://www.schemas.conceptdraw.com/cdprj/document.xsd}ViewProperties"/>
<element name="Resource" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element ref="{http://www.schemas.conceptdraw.com/cdprj/document.xsd}OutlineNumber"/>
<element name="CalendarID" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}integer">
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="SubType">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="work"/>
<enumeration value="material"/>
<enumeration value="cost"/>
<enumeration value="equipment"/>
<enumeration value="company"/>
</restriction>
</simpleType>
</element>
<element name="EMail" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Note" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Cost" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="CostTimeUnit" type="{http://www.schemas.conceptdraw.com/cdprj/document.xsd}ShortTimeUnitType"/>
<element name="Group" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ShowAssignedTasks" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element ref="{http://www.schemas.conceptdraw.com/cdprj/document.xsd}StyleProject"/>
<element name="MarkerID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element ref="{http://www.schemas.conceptdraw.com/cdprj/document.xsd}Hyperlinks"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Document.Resources.Resource
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Document.Resources.Resource> |
resource |
protected ViewProperties |
viewProperties |
| Constructor and Description |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
List<Document.Resources.Resource> |
getResource()
Gets the value of the resource property.
|
ViewProperties |
getViewProperties()
Settings for resources grid view.
|
void |
setViewProperties(ViewProperties value)
Sets the value of the viewProperties property.
|
protected ViewProperties viewProperties
protected List<Document.Resources.Resource> resource
public ViewProperties getViewProperties()
ViewPropertiespublic void setViewProperties(ViewProperties value)
value - allowed object is
ViewPropertiespublic List<Document.Resources.Resource> getResource()
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 resource property.
For example, to add a new item, do as follows:
getResource().add(newItem);
Objects of the following type(s) are allowed in the list
Document.Resources.Resource
Copyright © 2000–2025 MPXJ. All rights reserved.