001package org.nuxeo.theme.resources; 002 003public class PresetInfo { 004 005 private String name; 006 007 private String bank; 008 009 private String collection; 010 011 private String category; 012 013 private String value; 014 015 public PresetInfo(String name, String bank, String collection, String category, String value) { 016 this.name = name; 017 this.bank = bank; 018 this.collection = collection; 019 this.category = category; 020 this.value = value; 021 } 022 023 public String getName() { 024 return name; 025 } 026 027 public void setName(String name) { 028 this.name = name; 029 } 030 031 public String getBank() { 032 return bank; 033 } 034 035 public void setBank(String bank) { 036 this.bank = bank; 037 } 038 039 public String getCollection() { 040 return collection; 041 } 042 043 public void setCollection(String collection) { 044 this.collection = collection; 045 } 046 047 public String getCategory() { 048 return category; 049 } 050 051 public void setCategory(String category) { 052 this.category = category; 053 } 054 055 public String getValue() { 056 return value; 057 } 058 059 public void setValue(String value) { 060 this.value = value; 061 } 062 063 public String getTypeName() { 064 return String.format("%s (%s %s)", name, collection, category); 065 } 066 067}