Class Package
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
Java class for Package complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Package">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VODML/v1}ReferableElement">
<sequence>
<element name="primitiveType" type="{http://www.ivoa.net/xml/VODML/v1}PrimitiveType" maxOccurs="unbounded" minOccurs="0"/>
<element name="enumeration" type="{http://www.ivoa.net/xml/VODML/v1}Enumeration" maxOccurs="unbounded" minOccurs="0"/>
<element name="dataType" type="{http://www.ivoa.net/xml/VODML/v1}DataType" maxOccurs="unbounded" minOccurs="0"/>
<element name="objectType" type="{http://www.ivoa.net/xml/VODML/v1}ObjectType" maxOccurs="unbounded" minOccurs="0"/>
<element name="package" type="{http://www.ivoa.net/xml/VODML/v1}Package" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionCollection of DataType-s defined in this package.protected List<Enumeration>Collection of Enumeration-s defined in this package.protected List<ObjectType>Collection of ObjectType-s defined in this package.Collection of child Package-s defined in this package.protected List<PrimitiveType>Collection of PrimitiveType-s defined in this package.Fields inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
description, id, name, vodmlId -
Constructor Summary
ConstructorsConstructorDescriptionPackage()Default no-arg constructorPackage(String vodmlId, String name, String description, String id, List<PrimitiveType> primitiveTypes, List<Enumeration> enumerations, List<DataType> dataTypes, List<ObjectType> objectTypes, List<Package> packages) 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) booleanCollection of DataType-s defined in this package.Collection of Enumeration-s defined in this package.Collection of ObjectType-s defined in this package.Collection of child Package-s defined in this package.Collection of PrimitiveType-s defined in this package.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) toString()withDataTypes(Collection<DataType> values) withDataTypes(DataType... values) withDescription(String value) withEnumerations(Collection<Enumeration> values) withEnumerations(Enumeration... values) withObjectTypes(Collection<ObjectType> values) withObjectTypes(ObjectType... values) withPackages(Collection<Package> values) withPackages(Package... values) withPrimitiveTypes(Collection<PrimitiveType> values) withPrimitiveTypes(PrimitiveType... values) withVodmlId(String value) Methods inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
getDescription, getId, getName, getVodmlId, setDescription, setId, setName, setVodmlId
-
Field Details
-
primitiveTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<PrimitiveType> primitiveTypesCollection of PrimitiveType-s defined in this package. -
enumerations
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Enumeration> enumerationsCollection of Enumeration-s defined in this package. -
dataTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<DataType> dataTypesCollection of DataType-s defined in this package. -
objectTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<ObjectType> objectTypesCollection of ObjectType-s defined in this package. -
packages
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Package> packagesCollection of child Package-s defined in this package.
-
-
Constructor Details
-
Package
public Package()Default no-arg constructor -
Package
public Package(String vodmlId, String name, String description, String id, List<PrimitiveType> primitiveTypes, List<Enumeration> enumerations, List<DataType> dataTypes, List<ObjectType> objectTypes, List<Package> packages) Fully-initialising value constructor
-
-
Method Details
-
getPrimitiveTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<PrimitiveType> getPrimitiveTypes()Collection of PrimitiveType-s defined in this package. Gets the value of the primitiveTypes 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 primitiveTypes property.For example, to add a new item, do as follows:
getPrimitiveTypes().add(newItem);
Objects of the following type(s) are allowed in the list
PrimitiveType- Returns:
- The value of the primitiveTypes property.
-
getEnumerations
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Enumeration> getEnumerations()Collection of Enumeration-s defined in this package. Gets the value of the enumerations 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 enumerations property.For example, to add a new item, do as follows:
getEnumerations().add(newItem);
Objects of the following type(s) are allowed in the list
Enumeration- Returns:
- The value of the enumerations property.
-
getDataTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<DataType> getDataTypes()Collection of DataType-s defined in this package. Gets the value of the dataTypes 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 dataTypes property.For example, to add a new item, do as follows:
getDataTypes().add(newItem);
Objects of the following type(s) are allowed in the list
DataType- Returns:
- The value of the dataTypes property.
-
getObjectTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<ObjectType> getObjectTypes()Collection of ObjectType-s defined in this package. Gets the value of the objectTypes 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 objectTypes property.For example, to add a new item, do as follows:
getObjectTypes().add(newItem);
Objects of the following type(s) are allowed in the list
ObjectType- Returns:
- The value of the objectTypes property.
-
getPackages
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Package> getPackages()Collection of child Package-s defined in this package. Gets the value of the packages 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 packages property.For example, to add a new item, do as follows:
getPackages().add(newItem);
Objects of the following type(s) are allowed in the list
Package- Returns:
- The value of the packages 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) - Overrides:
equalsin classReferableElement
-
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()- Overrides:
hashCodein classReferableElement
-
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()- Overrides:
toStringin classReferableElement
-
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- Overrides:
appendin classReferableElement
-
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- Overrides:
appendFieldsin classReferableElement
-
withPrimitiveTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withPrimitiveTypes(PrimitiveType... values) -
withPrimitiveTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withPrimitiveTypes(Collection<PrimitiveType> values) -
withEnumerations
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withEnumerations(Enumeration... values) -
withEnumerations
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withEnumerations(Collection<Enumeration> values) -
withDataTypes
-
withDataTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withDataTypes(Collection<DataType> values) -
withObjectTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withObjectTypes(ObjectType... values) -
withObjectTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withObjectTypes(Collection<ObjectType> values) -
withPackages
-
withPackages
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withPackages(Collection<Package> values) -
withVodmlId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withVodmlId(String value) - Overrides:
withVodmlIdin classReferableElement
-
withName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withName(String value) - Overrides:
withNamein classReferableElement
-
withDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withDescription(String value) - Overrides:
withDescriptionin classReferableElement
-
withId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Package withId(String value) - Overrides:
withIdin classReferableElement
-
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- Overrides:
mergeFromin classReferableElement
-
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- Overrides:
mergeFromin classReferableElement
-
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
-