Class VOResources
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
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>
<choice>
<element ref="{http://www.ivoa.net/xml/RegistryInterface/v1.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
<element name="identifier" type="{http://www.ivoa.net/xml/VOResource/v1.0}IdentifierURI" maxOccurs="unbounded" minOccurs="0"/>
</choice>
</sequence>
<attribute name="from" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
<attribute name="numberReturned" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
<attribute name="more" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected booleanprotected BigIntegera description of a single resource -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorVOResources(List<String> identifiers, List<Resource> resources, BigInteger from, BigInteger numberReturned, boolean more) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) booleangetFrom()Gets the value of the from property.Gets the value of the identifiers property.Gets the value of the numberReturned property.a description of a single resource Gets the value of the resources property.inthashCode()booleanisMore()Gets the value of the more property.voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetFrom(BigInteger value) Sets the value of the from property.voidsetMore(boolean value) Sets the value of the more property.voidsetNumberReturned(BigInteger value) Sets the value of the numberReturned property.toString()withFrom(BigInteger value) withIdentifiers(String... values) withIdentifiers(Collection<String> values) withMore(boolean value) withNumberReturned(BigInteger value) withResources(Collection<Resource> values) withResources(Resource... values)
-
Field Details
-
identifiers
-
resources
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Resource> resourcesa description of a single resource -
from
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected BigInteger from -
numberReturned
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected BigInteger numberReturned -
more
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected boolean more
-
-
Constructor Details
-
VOResources
public VOResources()Default no-arg constructor -
VOResources
public VOResources(List<String> identifiers, List<Resource> resources, BigInteger from, BigInteger numberReturned, boolean more) Fully-initialising value constructor
-
-
Method Details
-
getIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getIdentifiers()Gets the value of the identifiers 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
setmethod for the identifiers property.For example, to add a new item, do as follows:
getIdentifiers().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the identifiers property.
-
getResources
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Resource> getResources()a description of a single resource Gets the value of the resources 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
setmethod for the resources property.For example, to add a new item, do as follows:
getResources().add(newItem);
Objects of the following type(s) are allowed in the list
Resource- Returns:
- The value of the resources property.
-
getFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BigInteger getFrom()Gets the value of the from property.- Returns:
- possible object is
BigInteger
-
setFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setFrom(BigInteger value) Sets the value of the from property.- Parameters:
value- allowed object isBigInteger
-
getNumberReturned
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BigInteger getNumberReturned()Gets the value of the numberReturned property.- Returns:
- possible object is
BigInteger
-
setNumberReturned
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setNumberReturned(BigInteger value) Sets the value of the numberReturned property.- Parameters:
value- allowed object isBigInteger
-
isMore
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean isMore()Gets the value of the more property. -
setMore
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setMore(boolean value) Sets the value of the more property. -
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
withIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public VOResources withIdentifiers(String... values) -
withIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public VOResources withIdentifiers(Collection<String> values) -
withResources
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public VOResources withResources(Resource... values) -
withResources
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public VOResources withResources(Collection<Resource> values) -
withFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public VOResources withFrom(BigInteger value) -
withNumberReturned
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public VOResources withNumberReturned(BigInteger value) -
withMore
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public VOResources withMore(boolean value) -
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-