本文整理了Java中org.apache.cayenne.util.Util.stripPackageName()
方法的一些代码示例,展示了Util.stripPackageName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.stripPackageName()
方法的具体详情如下:
包路径:org.apache.cayenne.util.Util
类名称:Util
方法名:stripPackageName
[英]Returns an unqualified class name for the fully qualified name.
[中]返回完全限定名称的非限定类名。
代码示例来源:origin: org.apache.cayenne/cayenne-tools
/**
* Removes package name, leaving base name.
*
* @since 1.2
*/
public String stripPackageName(String fullyQualifiedClassName) {
return Util.stripPackageName(fullyQualifiedClassName);
}
代码示例来源:origin: org.apache.cayenne/cayenne-cgen
/**
* Removes package name, leaving base name.
*
* @since 1.2
*/
public String stripPackageName(String fullyQualifiedClassName) {
return Util.stripPackageName(fullyQualifiedClassName);
}
代码示例来源:origin: org.apache.cayenne/cayenne-server
/**
* Overrides toString() outputting a short string with query class and ObjectId.
*/
@Override
public String toString() {
return Util.stripPackageName(getClass().getName()) + ":" + objectId;
}
代码示例来源:origin: org.apache.cayenne/cayenne-server
/**
* Overrides toString() outputting a short string with query class and name.
*/
@Override
public String toString() {
String className = getClass().getName();
return Util.stripPackageName(className) + ":" + getName();
}
代码示例来源:origin: org.apache.cayenne/cayenne-server
/**
* Overrides toString() outputting a short string with query class and relationship
* name.
*/
@Override
public String toString() {
return Util.stripPackageName(getClass().getName()) + ":" + getRelationshipName();
}
}
内容来源于网络,如有侵权,请联系作者删除!