Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ShowAttachedOBjectAction implements Action {
- /** A list of all attachedOBject types available */
- private List<String> objectTypes;
- @Override
- public String execute() throws Exception {
- objectTypes = new ArrayList<String>();
- ObjectType[] allTypes = ObjectType.values();
- for (ObjectType objectType : allTypes) {
- objectTypes.add(objectType.toString());
- }
- return SUCCESS;
- }
- /** getters and setters */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement