Class AbstractMetadataRecord

    • Constructor Detail

      • AbstractMetadataRecord

        public AbstractMetadataRecord()
    • Method Detail

      • getUUID

        public String getUUID()
      • setUUID

        public void setUUID​(String uuid)
      • getNameInSource

        public String getNameInSource()
      • setNameInSource

        public void setNameInSource​(String nameInSource)
      • getSourceName

        public String getSourceName()
        Get the name in source or the name if the name in source is not set.
        Returns:
      • getFullName

        public String getFullName()
        WARNING - The name returned by this method may be ambiguous and is not SQL safe - it may need quoted/escaped
      • getSQLString

        public String getSQLString()
        Get the full name as a SQL safe string
        Returns:
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getCanonicalName

        public String getCanonicalName()
      • getProperty

        public String getProperty​(String key)
        Get the property value for the given key.
        If the key is in the form of a legacy uri fqn, the prefix version will also be checked. This behavior will be removed in a later release.
        Parameters:
        key -
        Returns:
      • setProperty

        public String setProperty​(String key,
                                  String value)
        The preferred setter for extension properties.
        Parameters:
        key -
        value - if null the property will be removed
      • setProperties

        public void setProperties​(Map<String,​String> properties)
      • getAnnotation

        public String getAnnotation()
      • setAnnotation

        public void setAnnotation​(String annotation)
      • equals

        public boolean equals​(Object obj)
        Compare two records for equality.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isUUIDSet

        public boolean isUUIDSet()
      • getIdentifier

        public String getIdentifier()
        Get a context unique identifier for this object. Typically it's just the name.
        Returns: