本文整理了Java中org.apache.isis.applib.Identifier.getMemberParameterNames()
方法的一些代码示例,展示了Identifier.getMemberParameterNames()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.getMemberParameterNames()
方法的具体详情如下:
包路径:org.apache.isis.applib.Identifier
类名称:Identifier
方法名:getMemberParameterNames
暂无
代码示例来源:origin: org.apache.isis.core/isis-core-applib
/**
* Convenience method that returns the {@link Identifier#getClassName()
* class name} of the {@link #getIdentifier() identifier}.
*/
public List<String> getMemberParameterNames() {
return identifier.getMemberParameterNames();
}
代码示例来源:origin: org.apache.isis/applib
/**
* Convenience method that returns the {@link Identifier#getClassName()
* class name} of the {@link #getIdentifier() identifier}.
*/
public List<String> getMemberParameterNames() {
return identifier.getMemberParameterNames();
}
代码示例来源:origin: org.apache.isis.runtimes.dflt.remoting/common
private static List<ObjectSpecification> loadParameterSpecifications(final Identifier id) {
final List<String> parameters = id.getMemberParameterNames();
final List<ObjectSpecification> specifications = Lists.newArrayList();
for (final String parameter : parameters) {
specifications.add(getSpecificationLoader().loadSpecification(parameter));
}
return specifications;
}
代码示例来源:origin: org.apache.isis.core/progmodel
private List<String> internalizedTextForParameter(final Identifier identifier, final String textType) {
if (bundle == null) {
return null;
}
final List<String> internalizedText = Lists.newArrayList();
final List<String> memberParameterNames = identifier.getMemberParameterNames();
int paramNum = 0;
for (@SuppressWarnings("unused")
final String dummy : memberParameterNames) {
final String key = buildParameterTypeKey(identifier, textType, paramNum);
internalizedText.add(lookupTextFromBundle(key));
paramNum++;
}
return internalizedText;
}
代码示例来源:origin: org.apache.isis.core/isis-core-applib
@Test
public void memberParameterNames() {
final Class<?> domainClass = SomeDomainClass.class;
identifier = Identifier.actionIdentifier(domainClass, "placeOrder", int.class, String.class);
assertThat(identifier.getMemberParameterNames(), is(Arrays.asList("int", "java.lang.String")));
}
内容来源于网络,如有侵权,请联系作者删除!