Class Application
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Direct Known Subclasses:
DesktopApplication,SoftwareLibrary
Java class for Application complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Application">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Resource">
<sequence>
<element name="cost" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="licence" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="openSource" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="dataFormat" type="{http://www.ivoa.net/xml/VOApplication/v1.0rc1}DataFormat" maxOccurs="unbounded" minOccurs="0"/>
<element name="voStandard" type="{http://www.ivoa.net/xml/VOApplication/v1.0rc1}ApplicationCapability" maxOccurs="unbounded" minOccurs="0"/>
<element name="sourceLanguage" type="{http://www.ivoa.net/xml/VOApplication/v1.0rc1}ProgrammingLanguage" maxOccurs="unbounded" minOccurs="0"/>
<element name="sourceCodeURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classApplication.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringan indication as to what the cost of the application is - the string "free" or "none" should be used to indicate that the application does not cost anything.protected List<DataFormat>File formats that this application can read or write.protected StringA free text value that indicates what type of licence is in force.protected BooleanIs the software open source.protected StringThe location where the source code can be found.The IVOA identifier for the principal language that the application is written in.protected List<ApplicationCapability>enumerate which standards this application is compliant with - *Editor note* not really too happy with this, as there is a certain amount of potential redundancy here if there is a derived type - e.g.Fields inherited from class org.javastro.ivoa.entities.resource.Resource
__cachedModifier__, altIdentifiers, content, created, curation, identifier, shortName, status, title, updated, validationLevels, version -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorApplication(List<Validation> validationLevels, String title, String shortName, String identifier, List<String> altIdentifiers, Curation curation, Content content, LocalDateTime created, LocalDateTime updated, String status, String version, String cost, String licence, Boolean openSource, List<DataFormat> dataFormats, List<ApplicationCapability> voStandards, List<String> sourceLanguages, String sourceCodeURL) 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) static Application.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static Application.Builder<Void>copyExcept(Application _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Application.Builder<Void>copyExcept(Resource _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> Application.Builder<_B>copyOf(Application _other) static <_B> Application.Builder<_B>copyOf(Application _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> Application.Builder<_B>static <_B> Application.Builder<_B>copyOf(Resource _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static Application.Builder<Void>copyOnly(Application _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Application.Builder<Void><_B> voidcopyTo(Application.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(Application.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) booleangetCost()an indication as to what the cost of the application is - the string "free" or "none" should be used to indicate that the application does not cost anything.File formats that this application can read or write.A free text value that indicates what type of licence is in force.The location where the source code can be found.The IVOA identifier for the principal language that the application is written in.enumerate which standards this application is compliant with - *Editor note* not really too happy with this, as there is a certain amount of potential redundancy here if there is a derived type - e.g.inthashCode()Is the software open source.voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) modifier()<_B> Application.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> Application.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) voidSets the value of the cost property.voidsetLicence(String value) Sets the value of the licence property.voidsetOpenSource(Boolean value) Sets the value of the openSource property.voidsetSourceCodeURL(String value) Sets the value of the sourceCodeURL property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.resource.Resource
copyTo, copyTo, getAltIdentifiers, getContent, getCreated, getCuration, getIdentifier, getShortName, getStatus, getTitle, getUpdated, getValidationLevels, getVersion, setContent, setCreated, setCuration, setIdentifier, setShortName, setStatus, setTitle, setUpdated, setVersion
-
Field Details
-
cost
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected String costan indication as to what the cost of the application is - the string "free" or "none" should be used to indicate that the application does not cost anything. Any value for the cost of any non-free software should be taken to be an approximate cost for one license - it is obviously difficult to curate this value for non-free software so that the main use of this element will be to distinguish between free and non-free. -
licence
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected String licenceA free text value that indicates what type of licence is in force. This can either be a common name of a license or a URL pointing to the license text. -
openSource
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected Boolean openSourceIs the software open source. See http://www.opensource.org/docs/definition.php for the definition of "open source" -
dataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected List<DataFormat> dataFormatsFile formats that this application can read or write. The formats are specified by reference to an IVOA identifier that describes the format. -
voStandards
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected List<ApplicationCapability> voStandardsenumerate which standards this application is compliant with - *Editor note* not really too happy with this, as there is a certain amount of potential redundancy here if there is a derived type - e.g. a CeaApplication type will support CEA standard so at least one entry would have to be placed here... -
sourceLanguages
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected List<String> sourceLanguagesThe IVOA identifier for the principal language that the application is written in. -
sourceCodeURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected String sourceCodeURLThe location where the source code can be found. This might be a URL to a specific archive file containing the source, or to the access pages for a source code management system.
-
-
Constructor Details
-
Application
public Application()Default no-arg constructor -
Application
public Application(List<Validation> validationLevels, String title, String shortName, String identifier, List<String> altIdentifiers, Curation curation, Content content, LocalDateTime created, LocalDateTime updated, String status, String version, String cost, String licence, Boolean openSource, List<DataFormat> dataFormats, List<ApplicationCapability> voStandards, List<String> sourceLanguages, String sourceCodeURL) Fully-initialising value constructor
-
-
Method Details
-
getCost
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public String getCost()an indication as to what the cost of the application is - the string "free" or "none" should be used to indicate that the application does not cost anything. Any value for the cost of any non-free software should be taken to be an approximate cost for one license - it is obviously difficult to curate this value for non-free software so that the main use of this element will be to distinguish between free and non-free.- Returns:
- possible object is
String
-
setCost
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setCost(String value) Sets the value of the cost property. -
getLicence
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public String getLicence()A free text value that indicates what type of licence is in force. This can either be a common name of a license or a URL pointing to the license text.- Returns:
- possible object is
String
-
setLicence
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setLicence(String value) Sets the value of the licence property.- Parameters:
value- allowed object isString- See Also:
-
isOpenSource
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Boolean isOpenSource()Is the software open source. See http://www.opensource.org/docs/definition.php for the definition of "open source"- Returns:
- possible object is
Boolean
-
setOpenSource
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setOpenSource(Boolean value) Sets the value of the openSource property.- Parameters:
value- allowed object isBoolean- See Also:
-
getDataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public List<DataFormat> getDataFormats()File formats that this application can read or write. The formats are specified by reference to an IVOA identifier that describes the format. Gets the value of the dataFormats 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 dataFormats property.For example, to add a new item, do as follows:
getDataFormats().add(newItem);
Objects of the following type(s) are allowed in the list
DataFormat- Returns:
- The value of the dataFormats property.
-
getVoStandards
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public List<ApplicationCapability> getVoStandards()enumerate which standards this application is compliant with - *Editor note* not really too happy with this, as there is a certain amount of potential redundancy here if there is a derived type - e.g. a CeaApplication type will support CEA standard so at least one entry would have to be placed here... Gets the value of the voStandards 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 voStandards property.For example, to add a new item, do as follows:
getVoStandards().add(newItem);
Objects of the following type(s) are allowed in the list
ApplicationCapability- Returns:
- The value of the voStandards property.
-
getSourceLanguages
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public List<String> getSourceLanguages()The IVOA identifier for the principal language that the application is written in. Gets the value of the sourceLanguages 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 sourceLanguages property.For example, to add a new item, do as follows:
getSourceLanguages().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the sourceLanguages property.
-
getSourceCodeURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public String getSourceCodeURL()The location where the source code can be found. This might be a URL to a specific archive file containing the source, or to the access pages for a source code management system.- Returns:
- possible object is
String
-
setSourceCodeURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setSourceCodeURL(String value) Sets the value of the sourceCodeURL property.- Parameters:
value- allowed object isString- See Also:
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) -
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+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 classResource
-
mergeFrom
-
mergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classResource
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classResource
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classResource
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classResource
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) -
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> void copyTo(Application.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> Application.Builder<_B> newCopyBuilder(_B _parentBuilder) - Overrides:
newCopyBuilderin classResource
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application.Builder<Void> newCopyBuilder()- Overrides:
newCopyBuilderin classResource
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static Application.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> Application.Builder<_B> copyOf(Resource _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> Application.Builder<_B> copyOf(Application _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> void copyTo(Application.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> Application.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classResource
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classResource
-
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> Application.Builder<_B> copyOf(Resource _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> Application.Builder<_B> copyOf(Application _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static Application.Builder<Void> copyExcept(Resource _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static Application.Builder<Void> copyExcept(Application _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static Application.Builder<Void> copyOnly(Resource _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static Application.Builder<Void> copyOnly(Application _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Application visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-