Class AssetExternalReference

    • Constructor Detail

      • AssetExternalReference

        public AssetExternalReference​(ExternalReference externalReferenceBean)
        Bean constructor
        Parameters:
        externalReferenceBean - bean with all of the properties in it
      • AssetExternalReference

        public AssetExternalReference​(AssetDescriptor parentAsset,
                                      ExternalReference externalReferenceBean)
        Bean constructor with parent asset
        Parameters:
        parentAsset - descriptor for parent asset
        externalReferenceBean - bean with all of the properties in it
      • AssetExternalReference

        public AssetExternalReference​(AssetDescriptor parentAsset,
                                      AssetExternalReference templateExternalReference)
        Copy/clone constructor.
        Parameters:
        parentAsset - descriptor for parent asset
        templateExternalReference - element to copy
    • Method Detail

      • getExternalReferenceBean

        protected ExternalReference getExternalReferenceBean()
        Return the bean - used in the cloning process.
        Returns:
        bean with all of the properties in
      • getReferenceId

        public String getReferenceId()
        Return the identifier given to this reference (with respect to this asset).
        Returns:
        String referenceId
      • getLinkDescription

        public String getLinkDescription()
        Return the description of the reference (with respect to this asset).
        Returns:
        String link description.
      • getDisplayName

        public String getDisplayName()
        Return the display name of this external reference.
        Returns:
        String display name.
      • getURI

        public String getURI()
        Return the URI used to retrieve the resource that this external reference represents.
        Returns:
        String URI
      • getResourceDescription

        public String getResourceDescription()
        Return the description of the resource that this external reference represents.
        Returns:
        String resource description
      • getVersion

        public String getVersion()
        Return the version of the resource that this external reference represents.
        Returns:
        String version
      • getOrganization

        public String getOrganization()
        Return the name of the organization that owns the resource that this external reference represents.
        Returns:
        String organization name
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class AssetReferenceable
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class AssetReferenceable
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison