本文整理了Java中org.apache.isis.applib.Identifier.toClassIdentityString()
方法的一些代码示例,展示了Identifier.toClassIdentityString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.toClassIdentityString()
方法的具体详情如下:
包路径:org.apache.isis.applib.Identifier
类名称:Identifier
方法名:toClassIdentityString
暂无
代码示例来源:origin: org.apache.isis.core/isis-core-applib
@Override
public String toIdentityString(final Identifier identifier) {
return identifier.toClassIdentityString();
}
},
代码示例来源:origin: org.apache.isis/applib
@Override
public String toIdentityString(final Identifier identifier) {
return identifier.toClassIdentityString();
}
},
代码示例来源:origin: org.apache.isis/applib
public StringBuilder toClassAndNameIdentityString(final StringBuilder buf) {
final StringBuilder builder = toClassIdentityString(buf).append("#").append(memberName);
if (type == Type.ACTION) {
builder.append("()");
}
return builder;
}
代码示例来源:origin: org.apache.isis.core/isis-core-applib
public StringBuilder toClassAndNameIdentityString(final StringBuilder buf) {
final StringBuilder builder = toClassIdentityString(buf).append("#").append(memberName);
if (type == Type.ACTION) {
builder.append("()");
}
return builder;
}
代码示例来源:origin: org.apache.isis.core/isis-core-applib
public String toClassIdentityString() {
return toClassIdentityString(new StringBuilder()).toString();
}
代码示例来源:origin: org.apache.isis/applib
public String toClassIdentityString() {
return toClassIdentityString(new StringBuilder()).toString();
}
代码示例来源:origin: org.apache.isis/applib
public String toFullIdentityString() {
if (identityString == null) {
if (memberName.length() == 0) {
identityString = toClassIdentityString();
} else {
final StringBuilder buf = new StringBuilder();
toClassIdentityString(buf).append("#").append(memberName);
toParmsIdentityString(buf);
identityString = buf.toString();
}
}
return identityString;
}
代码示例来源:origin: org.apache.isis.core/isis-core-applib
public String toFullIdentityString() {
if (identityString == null) {
if (memberName.length() == 0) {
identityString = toClassIdentityString();
} else {
final StringBuilder buf = new StringBuilder();
toClassIdentityString(buf).append("#").append(memberName);
toParmsIdentityString(buf);
identityString = buf.toString();
}
}
return identityString;
}
代码示例来源:origin: org.apache.isis.core/isis-core-viewer-wicket-model
private static ObjectSpecification owningSpecFor(
final OneToManyAssociation association,
final IsisSessionFactory isisSessionFactory) {
final SpecificationLoader specificationLoader = isisSessionFactory.getSpecificationLoader();
return specificationLoader.loadSpecification(association.getIdentifier().toClassIdentityString());
}
代码示例来源:origin: org.apache.isis.core/isis-core-viewer-wicket-model
private static ObjectSpecification owningSpecFor(
final OneToOneAssociation property,
final IsisSessionFactory isisSessionFactory) {
final SpecificationLoader specificationLoader = isisSessionFactory.getSpecificationLoader();
return specificationLoader.loadSpecification(property.getIdentifier().toClassIdentityString());
}
代码示例来源:origin: org.apache.isis.viewer/isis-viewer-wicket-model
private static ObjectSpecification owningSpecFor(
final OneToManyAssociation association,
final IsisSessionFactory isisSessionFactory) {
final SpecificationLoader specificationLoader = isisSessionFactory.getSpecificationLoader();
return specificationLoader.loadSpecification(association.getIdentifier().toClassIdentityString());
}
代码示例来源:origin: org.apache.isis.viewer/isis-viewer-wicket-model
private static ObjectSpecification owningSpecFor(
final OneToOneAssociation property,
final IsisSessionFactory isisSessionFactory) {
final SpecificationLoader specificationLoader = isisSessionFactory.getSpecificationLoader();
return specificationLoader.loadSpecification(property.getIdentifier().toClassIdentityString());
}
代码示例来源:origin: org.apache.isis.viewer/wicket-model
private static ObjectSpecification owningSpecFor(final OneToManyAssociation association) {
return IsisContext.getSpecificationLoader().loadSpecification(association.getIdentifier().toClassIdentityString());
}
代码示例来源:origin: org.apache.isis.viewer/wicket-model
private static ObjectSpecification owningSpecFor(final OneToOneAssociation association) {
return IsisContext.getSpecificationLoader().loadSpecification(association.getIdentifier().toClassIdentityString());
}
代码示例来源:origin: org.apache.isis.viewer/scimpi-dispatcher
continue;
final String name = spec.getIdentifier().toClassIdentityString();
context.getWriter().append("# " + spec.getShortIdentifier() + "\n");
context.getWriter().append("" + name + ":roles\n");
代码示例来源:origin: org.apache.isis.viewer/scimpi-dispatcher
@Override
public void process(final Request request) {
final RequestContext context = request.getContext();
if (context.isDebugDisabled()) {
return;
}
final Identifier identifier = (Identifier) context.getVariable("_security-identifier");
final List<String> roles = (List<String>) context.getVariable("_security-roles");
final StringBuffer roleList = new StringBuffer();
for (final String role : roles) {
if (roleList.length() > 0) {
roleList.append("|");
}
roleList.append(role);
}
request.appendHtml("<pre>");
request.appendHtml(identifier.toClassIdentityString() + ":" + roleList + "\n");
request.appendHtml(identifier.toClassAndNameIdentityString() + ":" + roleList + "\n");
request.appendHtml(identifier.toFullIdentityString() + ":" + roleList + "\n");
request.appendHtml("</pre>");
}
代码示例来源:origin: org.apache.isis.viewer/scimpi-dispatcher
continue;
final String name = spec.getIdentifier().toClassIdentityString();
context.getWriter().append("# " + spec.getShortIdentifier() + "\n");
for (final ObjectAssociation assoc : spec.getAssociations()) {
内容来源于网络,如有侵权,请联系作者删除!