本文整理了Java中org.apache.isis.applib.Identifier.getType()
方法的一些代码示例,展示了Identifier.getType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.getType()
方法的具体详情如下:
包路径:org.apache.isis.applib.Identifier
类名称:Identifier
方法名:getType
暂无
代码示例来源:origin: org.apache.isis.core/progmodel
@Override
public String disabledReason(final ObjectAdapter owningAdapter, final Identifier identifier) {
// String type = identifier.getType().toString();
final Type type = identifier.getType();
return (String) AdapterInvokeUtils.invoke(method, owningAdapter, type);
}
代码示例来源:origin: org.apache.isis.viewer/scimpi-dispatcher
private ForbiddenException(final Identifier identifier, final AuthenticationSession session, final boolean isVisibleAndUsabable) {
super((identifier.getType() == Identifier.Type.PROPERTY_OR_COLLECTION ? "Field" : "Action") + " '" + identifier.getMemberName() + "' in " + identifier.getClassName() + " is not " + (isVisibleAndUsabable ? "visible/usable " : "visible") + " for " + session.getUserName() + " "
+ session.getRoles());
this.identifier = identifier;
this.session = session;
}
内容来源于网络,如有侵权,请联系作者删除!