Class Ejb3Column

    • Constructor Detail

      • Ejb3Column

        public Ejb3Column()
    • Method Detail

      • setTable

        public void setTable​(Table table)
      • getLogicalColumnName

        public String getLogicalColumnName()
      • getSqlType

        public String getSqlType()
      • getLength

        public int getLength()
      • getPrecision

        public int getPrecision()
      • getScale

        public int getScale()
      • isUnique

        public boolean isUnique()
      • isFormula

        public boolean isFormula()
      • getFormulaString

        public String getFormulaString()
      • getExplicitTableName

        public String getExplicitTableName()
      • setExplicitTableName

        public void setExplicitTableName​(String explicitTableName)
      • setFormula

        public void setFormula​(String formula)
      • isImplicit

        public boolean isImplicit()
      • setInsertable

        public void setInsertable​(boolean insertable)
      • setUpdatable

        public void setUpdatable​(boolean updatable)
      • setImplicit

        public void setImplicit​(boolean implicit)
      • setSqlType

        public void setSqlType​(String sqlType)
      • setLength

        public void setLength​(int length)
      • setPrecision

        public void setPrecision​(int precision)
      • setScale

        public void setScale​(int scale)
      • setLogicalColumnName

        public void setLogicalColumnName​(String logicalColumnName)
      • setPropertyName

        public void setPropertyName​(String propertyName)
      • getPropertyName

        public String getPropertyName()
      • setUnique

        public void setUnique​(boolean unique)
      • isNullable

        public boolean isNullable()
      • getDefaultValue

        public String getDefaultValue()
      • setDefaultValue

        public void setDefaultValue​(String defaultValue)
      • getComment

        public String getComment()
      • setComment

        public void setComment​(String comment)
      • bind

        public void bind()
      • initMappingColumn

        protected void initMappingColumn​(String columnName,
                                         String propertyName,
                                         int length,
                                         int precision,
                                         int scale,
                                         boolean nullable,
                                         String sqlType,
                                         boolean unique,
                                         boolean applyNamingStrategy)
      • isNameDeferred

        public boolean isNameDeferred()
      • redefineColumnName

        public void redefineColumnName​(String columnName,
                                       String propertyName,
                                       boolean applyNamingStrategy)
      • getName

        public String getName()
      • getMappingColumn

        public Column getMappingColumn()
      • isInsertable

        public boolean isInsertable()
      • isUpdatable

        public boolean isUpdatable()
      • setNullable

        public void setNullable​(boolean nullable)
      • setPropertyHolder

        public void setPropertyHolder​(PropertyHolder propertyHolder)
      • setMappingColumn

        protected void setMappingColumn​(Column mappingColumn)
      • linkWithValue

        public void linkWithValue​(SimpleValue value)
      • addColumnBinding

        protected void addColumnBinding​(SimpleValue value)
      • getTable

        public Table getTable()
        Find appropriate table of the column. It can come from a secondary table or from the main table of the persistent class
        Returns:
        appropriate table
        Throws:
        AnnotationException - missing secondary table
      • isSecondary

        public boolean isSecondary()
      • getJoin

        public Join getJoin()
      • forceNotNull

        public void forceNotNull()
      • checkPropertyConsistency

        public static void checkPropertyConsistency​(Ejb3Column[] columns,
                                                    String propertyName)
      • addIndex

        public void addIndex​(Index index,
                             boolean inSecondPass)