类 EntityImpl

    • 构造器详细资料

      • EntityImpl

        public EntityImpl​(java.lang.String name,
                          java.lang.String physicalName,
                          java.lang.String description,
                          com.alibaba.fastjson.JSONObject extraAttrs,
                          boolean creatable,
                          boolean updatable,
                          boolean queryable,
                          int typeCode,
                          java.lang.String nameFieldName,
                          boolean deletable)
    • 方法详细资料

      • containsField

        public boolean containsField​(java.lang.String aName)
        从接口复制的说明: Entity
        是否包含指定名称字段
        指定者:
        containsField 在接口中 Entity
        返回:
      • getField

        public Field getField​(java.lang.String aName)
        从接口复制的说明: Entity
        获取字段
        指定者:
        getField 在接口中 Entity
        返回:
      • getFields

        public Field[] getFields()
        从接口复制的说明: Entity
        获取全部字段
        指定者:
        getFields 在接口中 Entity
        返回:
      • getNameField

        public Field getNameField()
        从接口复制的说明: Entity
        获取名称字段
        指定者:
        getNameField 在接口中 Entity
        返回:
      • getPrimaryField

        public Field getPrimaryField()
        从接口复制的说明: Entity
        获取主键字段
        指定者:
        getPrimaryField 在接口中 Entity
        返回:
      • getEntityCode

        public java.lang.Integer getEntityCode()
        从接口复制的说明: Entity
        获取实体编号
        指定者:
        getEntityCode 在接口中 Entity
        返回:
      • getReferenceToFields

        public Field[] getReferenceToFields​(boolean excludeNReference,
                                            boolean excludeAnyReference)
        从接口复制的说明: Entity
        获取引用到此实体的所有字段
        指定者:
        getReferenceToFields 在接口中 Entity
        参数:
        excludeNReference - 是否排除多引用
        excludeAnyReference - 是否排除任意引用
        返回:
      • getMainEntity

        public Entity getMainEntity()
        从接口复制的说明: Entity
        获取主实体(如有)
        指定者:
        getMainEntity 在接口中 Entity
        返回:
      • getDetailEntity

        public Entity getDetailEntity()
        从接口复制的说明: Entity
        获取明细实体(如有)
        指定者:
        getDetailEntity 在接口中 Entity
        返回:
      • isDeletable

        public boolean isDeletable()
        从接口复制的说明: Entity
        是否可删除
        指定者:
        isDeletable 在接口中 Entity
        返回:
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        覆盖:
        equals 在类中 java.lang.Object
      • clone

        protected java.lang.Object clone()
                                  throws java.lang.CloneNotSupportedException
        覆盖:
        clone 在类中 java.lang.Object
        抛出:
        java.lang.CloneNotSupportedException
      • getFieldSorted

        public java.util.Set<java.lang.String> getFieldSorted()
        获取按顺序排列的字段
        返回:
      • addField

        protected void addField​(Field field)
        参数:
        field -
      • addReferenceTo

        protected void addReferenceTo​(Field field)
        参数:
        field -
      • setMainEntity

        protected void setMainEntity​(Entity mainEntity)
        参数:
        mainEntity -