org.apache.ibatis.type.Alias.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(272)

本文整理了Java中org.apache.ibatis.type.Alias.<init>()方法的一些代码示例,展示了Alias.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Alias.<init>()方法的具体详情如下:
包路径:org.apache.ibatis.type.Alias
类名称:Alias
方法名:<init>

Alias.<init>介绍

暂无

代码示例

代码示例来源:origin: hs-web/hsweb-framework

@Alias("jsonSetHandler")
@MappedTypes({Set.class})
@MappedJdbcTypes({JdbcType.VARCHAR, JdbcType.CLOB})

代码示例来源:origin: hs-web/hsweb-framework

@Alias("jsonMapHandler")
@MappedTypes({Map.class})
@MappedJdbcTypes({JdbcType.VARCHAR, JdbcType.CLOB})

代码示例来源:origin: hs-web/hsweb-framework

@Alias("jsonArrayHandler")
@MappedTypes({List.class})
@MappedJdbcTypes({JdbcType.VARCHAR, JdbcType.CLOB})

代码示例来源:origin: hmkcode/Java

@Alias("MyObject") 
public class MyObject {

  private int objectId;
  private String objectName;
  
  public int getObjectId() {
    return objectId;
  }

  public void setObjectId(int objectId) {
    this.objectId = objectId;
  }

  public String getObjectName() {
    return objectName;
  }
  
  public void setObjectName(String objectName) {
    this.objectName = objectName;
  }

  public String toString(){
    return "\n Object [ id: "+this.objectId+" - name: "+this.objectName+ "\n]"; 
  }
}

代码示例来源:origin: hmkcode/Spring-Framework

/**
 * Hello world!
 *
 */
@Alias("Child")
public class Child extends Parent
{
  private int childId;
    private String childName;
  
      public int getChildId() {
    return childId;
  }
  public void setChildId(int childId) {
    this.childId = childId;
  }
  public String getChildName() {
    return childName;
  }
  public void setChildName(String childName) {
    this.childName = childName;
  }
  public String toString(){
    return "Child [ id: "+this.childId+" - name: "+this.childName+" (PARENT_ID :"+this.getParentId()+") ]"; 
  }
}

代码示例来源:origin: hmkcode/Spring-Framework

@Alias("Parent")
public class Parent {

代码示例来源:origin: ucarGroup/DataLink

@Alias("userRole")
public class UserRoleInfo implements Serializable, Storable {

代码示例来源:origin: ucarGroup/DataLink

@Alias("taskException")
public class TaskExceptionInfo implements Serializable, Storable {

代码示例来源:origin: ucarGroup/DataLink

@Alias("properties")
public class SysPropertiesInfo implements Serializable, Storable {
  private Long id;

代码示例来源:origin: ucarGroup/DataLink

@Alias("taskPosition")
public class TaskPositionInfo implements Serializable, Storable {
  private Long id;

代码示例来源:origin: ucarGroup/DataLink

@Alias("role")
public class RoleInfo implements Serializable, Storable {
  private Long id;

代码示例来源:origin: madvirus/spring4

@Alias("PurchaseOrder")
public class PurchaseOrder {

代码示例来源:origin: ucarGroup/DataLink

@Alias("authority")
public class RoleAuthorityInfo implements Serializable, Storable {
  private Long id;

代码示例来源:origin: ucarGroup/DataLink

@Alias("mediaColumnMapping")
public class MediaColumnMappingInfo implements Serializable, Storable {
  private Long id;

代码示例来源:origin: ucarGroup/DataLink

@Alias("delaytime")
public class TaskDelayTimeInfo implements Serializable, Storable {

代码示例来源:origin: tigerphz/tgcloud-master

/**
 * @description:
 * @author: tiger
 * @date: 2018/10/24 16:21
 * @version: V1.0
 * @modified by:
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "uac_role")
@Alias(value = "uacRole")
public class RoleInfo extends BaseEntity {
  private static final long serialVersionUID = -8618260859312718168L;

  private String rolename;

  private Integer status;

  private String description;
}

代码示例来源:origin: com.intoverflow.booster/booster-core

@Alias("velocity")
public class VelocityLangDriver extends AbstractLangDriver {

代码示例来源:origin: tigerphz/tgcloud-master

/**
 * @description:
 * @author: tiger
 * @date: 2018/10/24 16:21
 * @version: V1.0
 * @modified by:
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "uac_department")
@Alias(value = "uacDepartment")
public class DepartmentInfo extends BaseEntity {
  private static final long serialVersionUID = -355243749586445864L;

  private String deptname;

  private Integer status;

  private String description;

  private Integer sort;

  private Long parentid;
}

代码示例来源:origin: org.hsweb/hsweb-web-dao-mybatis

@Alias("jsonMapHandler")
@MappedTypes({Map.class})
@MappedJdbcTypes({JdbcType.VARCHAR, JdbcType.CLOB})

代码示例来源:origin: org.hsweb/hsweb-web-dao-mybatis

@Alias("jsonArrayHandler")
@MappedTypes({List.class})
@MappedJdbcTypes({JdbcType.VARCHAR, JdbcType.CLOB})

相关文章