Interface ItemDeployment.Attribute

  • All Superinterfaces:
    java.io.Serializable
    Enclosing interface:
    ItemDeployment

    public static interface ItemDeployment.Attribute
    extends java.io.Serializable
    describes a CMP field
    • Method Detail

      • getQualifier

        java.lang.String getQualifier()
        Returns:
        the CMP field name
      • getType

        java.lang.String getType()
        Returns:
        the java persistence type of this field
      • getColumnName

        java.lang.String getColumnName​(java.lang.String database)
        Returns:
        the database column name of this field
      • getColumnDeclaration

        java.lang.String getColumnDeclaration​(java.lang.String database,
                                              DeploymentImpl deployment)
        Returns:
        the sql column declaration
      • isPrimaryKey

        boolean isPrimaryKey()
        Returns:
        true if this attribute describes a primary key field
      • isNullAllowed

        boolean isNullAllowed​(java.lang.String database)
        Returns:
        true if this attribute may contain null values