Class SoftwareObject

  • Direct Known Subclasses:
    Component, Product

    public class SoftwareObject
    extends java.lang.Object

    Instances of the SoftwareObject class are returned from the methods of the ProductRegistryService. They are the entities that represent the elements of the Global Registry.

    The two classes that extend SoftwareObject are Product and Component.

    See Also:
    ProductRegistryService, Product, Component
    • Constructor Summary

      Constructors 
      Constructor Description
      SoftwareObject​(java.lang.String name, java.lang.String uniqueID, java.lang.String location, java.lang.String version)
      Creates a new SoftwareObject with the specified arguments.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLocation()
      The location where the SoftwareObject is installed in.
      java.lang.String getName()
      The name of the SoftwareObject.
      java.lang.String getUniqueID()
      The uniqueID of the SoftwareObject.
      java.lang.String getVersion()
      The version of the SoftwareObject.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SoftwareObject

        public SoftwareObject​(java.lang.String name,
                              java.lang.String uniqueID,
                              java.lang.String location,
                              java.lang.String version)
        Creates a new SoftwareObject with the specified arguments.
        Parameters:
        name - The name of the SoftwareObject. It can be any string.
        uniqueID - The uniqueID of the SoftwareObject. For example: f2e0e6a6-1eec-11b2-adcb-d5eb84d8b90a.
        location - The location where the SoftwareObject is installed in.
        version - The version of the SoftwareObject. For example: 1.5.12.2427
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        The location where the SoftwareObject is installed in.
      • getName

        public java.lang.String getName()
        The name of the SoftwareObject. It can be any string.
      • getUniqueID

        public java.lang.String getUniqueID()
        The uniqueID of the SoftwareObject. For example: f2e0e6a6-1eec-11b2-adcb-d5eb84d8b90a.
      • getVersion

        public java.lang.String getVersion()
        The version of the SoftwareObject. For example: 1.5.12.2427