Class AbstractSchemaObject

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static int HASHFACTOR
      Factor for calculation of hash code.
    • Field Detail

      • HASHFACTOR

        protected static final int HASHFACTOR
        Factor for calculation of hash code.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractSchemaObject

        public AbstractSchemaObject()
    • Method Detail

      • setConfiguration

        public final void setConfiguration​(DDLGenConfiguration config)
        Set configuration of the schema object.
        Specified by:
        setConfiguration in interface SchemaObject
        Parameters:
        config - Configuration to be used by the schema object.
      • setName

        public final void setName​(java.lang.String name)
        Set name of the schema object.
        Specified by:
        setName in interface SchemaObject
        Parameters:
        name - Name of the schema object.
      • getName

        public final java.lang.String getName()
        Get name of the schema object.
        Specified by:
        getName in interface SchemaObject
        Returns:
        Name of the schema object.
      • equals

        protected static final boolean equals​(java.lang.Object obj1,
                                              java.lang.Object obj2)
        Check the 2 given objects for equality by taking into account that one or both of them may be null.
        Parameters:
        obj1 - First object.
        obj2 - Second object.
        Returns:
        true if both objects are null or equal as defined by equals method of object. false if only one of the objects is null or if they are not equal.