I have a class i.e. Category. Its a POJO with some member variables and getters and it can be instanciated. Category contains a static nested class called Contract. The Contract contains only constants like column names of a database table. Last but not least contains the Category also a static Builder to configure a new Category and instanciate this one.
class Category {
static class Contract{}
static class Builder{}
}
Can their be a problem about performance or memory with this class structure? I mean by 100 Categories and each one has a Contract and a Builder. Any help or infos are welcome.