|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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()
String
public void setTitle(java.lang.String value)
value
- allowed object is
String
public java.lang.String getShortName()
String
public void setShortName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getIdentifier()
String
public void setIdentifier(java.lang.String value)
value
- allowed object is
String
public Curation getCuration()
Curation
public void setCuration(Curation value)
value
- allowed object is
Curation
public Content getContent()
Content
public void setContent(Content value)
value
- allowed object is
Content
public javax.xml.datatype.XMLGregorianCalendar getCreated()
XMLGregorianCalendar
public void setCreated(javax.xml.datatype.XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public javax.xml.datatype.XMLGregorianCalendar getUpdated()
XMLGregorianCalendar
public void setUpdated(javax.xml.datatype.XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public java.lang.String getStatus()
String
public 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 |