Class AssetMeaning

  • All Implemented Interfaces:
    Serializable

    public class AssetMeaning
    extends AssetElementHeader
    Meaning is a cut-down summary of a glossary term to aid the asset consumer in understanding the content of an asset.
    See Also:
    Serialized Form
    • Field Detail

      • meaningBean

        protected Meaning meaningBean
    • Constructor Detail

      • AssetMeaning

        public AssetMeaning​(Meaning meaningBean)
        Bean constructor
        Parameters:
        meaningBean - - bean containing all of the properties
      • AssetMeaning

        public AssetMeaning​(AssetDescriptor parentAsset,
                            Meaning meaningBean)
        Bean constructor
        Parameters:
        parentAsset - descriptor for parent asset
        meaningBean - - bean containing all of the properties
      • AssetMeaning

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

      • getMeaningBean

        protected Meaning getMeaningBean()
        Return the bean containing all of the properties
        Returns:
        meaning bean
      • getName

        public String getName()
        Return the glossary term name.
        Returns:
        String name
      • getDescription

        public String getDescription()
        Return the description of the glossary term.
        Returns:
        String description
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class AssetElementHeader
        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 AssetElementHeader
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison