@Test public void fromString() { EntityResourceAction id = EntityResourceAction.fromString("view"); assertEquals(EntityResourceAction.VIEW, id); }
public static EntityResourceAction fromString(String actionName) { return new EntityResourceAction(actionName); }
EntityResourceAction { public static EntityResourceAction fromString(String actionName) { return new EntityResourceAction(actionName); } }
EntityResourceAction { public static EntityResourceAction fromString(String actionName) { return new EntityResourceAction(actionName); } EntityResourceAction(String actionName); }
EntityResourceAction { public static EntityResourceAction fromString(String actionName) { return new EntityResourceAction(actionName); } EntityResourceAction(String actionName); static EntityResourceAction fromString(String actionName); String getActionName(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object object); }
EntityResourceAction { public static EntityResourceAction fromString(String actionName) { return new EntityResourceAction(actionName); } EntityResourceAction(String actionName); static EntityResourceAction fromString(String actionName); String getActionName(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object object); static final EntityResourceAction VIEW; }