@Test public void testGetPluralName() throws Exception { Resource.Type type = new Resource.Type("resource"); ViewExternalSubResourceDefinition definition = new ViewExternalSubResourceDefinition(type); Assert.assertEquals("resources", definition.getPluralName()); }
@Override public String getPluralName() { return "resources"; }
ViewExternalSubResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "resources"; } }
ViewExternalSubResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "resources"; } ViewExternalSubResourceDefinition(Resource.Type type); }
ViewExternalSubResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "resources"; } ViewExternalSubResourceDefinition(Resource.Type type); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions(); }
ViewExternalSubResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "resources"; } ViewExternalSubResourceDefinition(Resource.Type type); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }