本文整理了Java中org.apache.ibatis.type.Alias
类的一些代码示例,展示了Alias
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Alias
类的具体详情如下:
包路径:org.apache.ibatis.type.Alias
类名称:Alias
暂无
代码示例来源:origin: hs-web/hsweb-framework
@Alias("jsonSetHandler")
@MappedTypes({Set.class})
@MappedJdbcTypes({JdbcType.VARCHAR, JdbcType.CLOB})
代码示例来源:origin: camunda/camunda-bpm-platform
public void registerAlias(Class<?> type) {
String alias = type.getSimpleName();
Alias aliasAnnotation = type.getAnnotation(Alias.class);
if (aliasAnnotation != null) {
alias = aliasAnnotation.value();
}
registerAlias(alias, type);
}
代码示例来源:origin: hs-web/hsweb-framework
@Alias("jsonMapHandler")
@MappedTypes({Map.class})
@MappedJdbcTypes({JdbcType.VARCHAR, JdbcType.CLOB})
代码示例来源:origin: org.mybatis/mybatis
public void registerAlias(Class<?> type) {
String alias = type.getSimpleName();
Alias aliasAnnotation = type.getAnnotation(Alias.class);
if (aliasAnnotation != null) {
alias = aliasAnnotation.value();
}
registerAlias(alias, type);
}
代码示例来源: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: ucarGroup/DataLink
@Alias("authority")
public class RoleAuthorityInfo implements Serializable, Storable {
private Long id;
代码示例来源:origin: madvirus/spring4
@Alias("PurchaseOrder")
public class PurchaseOrder {
代码示例来源: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: ucarGroup/DataLink
@Alias("metaMapping")
public class MetaMappingInfo implements Serializable, Storable {
代码示例来源:origin: ucarGroup/DataLink
@Alias("taskStatusMismatchLog")
public class TaskStatusMismatchLogInfo implements Serializable, Storable {
private Long id;
代码示例来源:origin: sivaprasadreddy/Java-Persistence-with-MyBatis3
@Alias("Student")
public class Student
内容来源于网络,如有侵权,请联系作者删除!