Class SimpleValue

    • Field Detail

      • DEFAULT_ID_GEN_STRATEGY

        public static final java.lang.String DEFAULT_ID_GEN_STRATEGY
        See Also:
        Constant Field Values
    • Method Detail

      • setCascadeDeleteEnabled

        public void setCascadeDeleteEnabled​(boolean cascadeDeleteEnabled)
      • addColumn

        public void addColumn​(Column column)
      • addColumn

        public void addColumn​(Column column,
                              boolean isInsertable,
                              boolean isUpdatable)
      • addFormula

        public void addFormula​(Formula formula)
      • hasFormula

        public boolean hasFormula()
        Specified by:
        hasFormula in interface Value
      • getColumnSpan

        public int getColumnSpan()
        Specified by:
        getColumnSpan in interface Value
      • getConstraintColumns

        public java.util.List getConstraintColumns()
      • getTypeName

        public java.lang.String getTypeName()
      • setTypeName

        public void setTypeName​(java.lang.String typeName)
      • makeVersion

        public void makeVersion()
      • isVersion

        public boolean isVersion()
      • makeNationalized

        public void makeNationalized()
      • isNationalized

        public boolean isNationalized()
      • makeLob

        public void makeLob()
      • isLob

        public boolean isLob()
      • setTable

        public void setTable​(Table table)
      • createForeignKeyOfEntity

        public void createForeignKeyOfEntity​(java.lang.String entityName)
        Specified by:
        createForeignKeyOfEntity in interface KeyValue
      • getIdentifierGeneratorProperties

        public java.util.Properties getIdentifierGeneratorProperties()
      • getNullValue

        public java.lang.String getNullValue()
        Specified by:
        getNullValue in interface KeyValue
      • getIdentifierGeneratorStrategy

        public java.lang.String getIdentifierGeneratorStrategy()
        Returns the identifierGeneratorStrategy.
        Returns:
        String
      • setIdentifierGeneratorProperties

        public void setIdentifierGeneratorProperties​(java.util.Properties identifierGeneratorProperties)
        Sets the identifierGeneratorProperties.
        Parameters:
        identifierGeneratorProperties - The identifierGeneratorProperties to set
      • setIdentifierGeneratorProperties

        public void setIdentifierGeneratorProperties​(java.util.Map identifierGeneratorProperties)
        Sets the identifierGeneratorProperties.
        Parameters:
        identifierGeneratorProperties - The identifierGeneratorProperties to set
      • setIdentifierGeneratorStrategy

        public void setIdentifierGeneratorStrategy​(java.lang.String identifierGeneratorStrategy)
        Sets the identifierGeneratorStrategy.
        Parameters:
        identifierGeneratorStrategy - The identifierGeneratorStrategy to set
      • setNullValue

        public void setNullValue​(java.lang.String nullValue)
        Sets the nullValue.
        Parameters:
        nullValue - The nullValue to set
      • getForeignKeyName

        public java.lang.String getForeignKeyName()
      • setForeignKeyName

        public void setForeignKeyName​(java.lang.String foreignKeyName)
      • getForeignKeyDefinition

        public java.lang.String getForeignKeyDefinition()
      • setForeignKeyDefinition

        public void setForeignKeyDefinition​(java.lang.String foreignKeyDefinition)
      • setAlternateUniqueKey

        public void setAlternateUniqueKey​(boolean unique)
      • isNullable

        public boolean isNullable()
        Specified by:
        isNullable in interface Value
      • isSimpleValue

        public boolean isSimpleValue()
        Specified by:
        isSimpleValue in interface Value
      • isTypeSpecified

        public boolean isTypeSpecified()
      • setTypeParameters

        public void setTypeParameters​(java.util.Properties parameterMap)
      • setTypeParameters

        public void setTypeParameters​(java.util.Map<java.lang.String,​java.lang.String> parameters)
      • getTypeParameters

        public java.util.Properties getTypeParameters()
      • copyTypeFrom

        public void copyTypeFrom​(SimpleValue sourceValue)
      • isSame

        public boolean isSame​(Value other)
        Specified by:
        isSame in interface Value
      • isSame

        protected static boolean isSame​(Value v1,
                                        Value v2)
      • isSame

        public boolean isSame​(SimpleValue other)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setJpaAttributeConverterDescriptor

        public void setJpaAttributeConverterDescriptor​(ConverterDescriptor descriptor)