|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ivoa.xml.voresource.v1.Resource
public class Resource
Any entity or component of a VO application that is describable and identifiable by a IVOA Identifier.
Java class for Resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Resource">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="validationLevel" type="{http://www.ivoa.net/xml/VOResource/v1.0}Validation" maxOccurs="unbounded" minOccurs="0"/>
<element name="title" type="{http://www.w3.org/2001/XMLSchema}token"/>
<element name="shortName" type="{http://www.ivoa.net/xml/VOResource/v1.0}ShortName" minOccurs="0"/>
<element name="identifier" type="{http://www.ivoa.net/xml/VOResource/v1.0}IdentifierURI"/>
<element name="curation" type="{http://www.ivoa.net/xml/VOResource/v1.0}Curation"/>
<element name="content" type="{http://www.ivoa.net/xml/VOResource/v1.0}Content"/>
</sequence>
<attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="updated" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="status" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="active"/>
<enumeration value="inactive"/>
<enumeration value="deleted"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Content |
content
|
protected javax.xml.datatype.XMLGregorianCalendar |
created
|
protected Curation |
curation
|
protected java.lang.String |
identifier
|
protected java.lang.String |
shortName
|
protected java.lang.String |
status
|
protected java.lang.String |
title
|
protected javax.xml.datatype.XMLGregorianCalendar |
updated
|
protected java.util.List<Validation> |
validationLevel
|
| Constructor Summary | |
|---|---|
Resource()
|
|
| Method Summary | |
|---|---|
Content |
getContent()
Gets the value of the content property. |
javax.xml.datatype.XMLGregorianCalendar |
getCreated()
Gets the value of the created property. |
Curation |
getCuration()
Gets the value of the curation property. |
java.lang.String |
getIdentifier()
Gets the value of the identifier property. |
java.lang.String |
getShortName()
Gets the value of the shortName property. |
java.lang.String |
getStatus()
Gets the value of the status property. |
java.lang.String |
getTitle()
Gets the value of the title property. |
javax.xml.datatype.XMLGregorianCalendar |
getUpdated()
Gets the value of the updated property. |
java.util.List<Validation> |
getValidationLevel()
Gets the value of the validationLevel property. |
void |
setContent(Content value)
Sets the value of the content property. |
void |
setCreated(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the created property. |
void |
setCuration(Curation value)
Sets the value of the curation property. |
void |
setIdentifier(java.lang.String value)
Sets the value of the identifier property. |
void |
setShortName(java.lang.String value)
Sets the value of the shortName property. |
void |
setStatus(java.lang.String value)
Sets the value of the status property. |
void |
setTitle(java.lang.String value)
Sets the value of the title property. |
void |
setUpdated(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the updated property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<Validation> validationLevel
protected java.lang.String title
protected java.lang.String shortName
protected java.lang.String identifier
protected Curation curation
protected Content content
protected javax.xml.datatype.XMLGregorianCalendar created
protected javax.xml.datatype.XMLGregorianCalendar updated
protected java.lang.String status
| Constructor Detail |
|---|
public Resource()
| Method Detail |
|---|
public java.util.List<Validation> getValidationLevel()
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 validationLevel property.
For example, to add a new item, do as follows:
getValidationLevel().add(newItem);
Objects of the following type(s) are allowed in the list
Validation
public java.lang.String getTitle()
Stringpublic void setTitle(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getShortName()
Stringpublic void setShortName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getIdentifier()
Stringpublic void setIdentifier(java.lang.String value)
value - allowed object is
Stringpublic Curation getCuration()
Curationpublic void setCuration(Curation value)
value - allowed object is
Curationpublic Content getContent()
Contentpublic void setContent(Content value)
value - allowed object is
Contentpublic javax.xml.datatype.XMLGregorianCalendar getCreated()
XMLGregorianCalendarpublic void setCreated(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic javax.xml.datatype.XMLGregorianCalendar getUpdated()
XMLGregorianCalendarpublic void setUpdated(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic java.lang.String getStatus()
Stringpublic void setStatus(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||