Theoreticaly speaking, if class A has an atribute B, B is an attribute of A, but A is what of B?
Asked
Active
Viewed 21 times
0
-
1A is the class which B is an attribute of? – kaya3 Jan 24 '21 at 22:14
-
yes, i want the nomenclature of that relationship – vinicius de novaes Jan 25 '21 at 00:27
-
1What's wrong with *"A is the class which B is an attribute of"* to describe the relationship? – kaya3 Jan 25 '21 at 07:42
-
I'm making a class that holds meta information of the classes on my program, and have to make a variable that holds the class_which_self_is_an_attribute_of. And I wat a better name than that. Also, I remember of a paradigm concept that gave a name for that relation, but I'm not sure – vinicius de novaes Jan 26 '21 at 00:30
-
1Words like "subject" and "principal" come to mind. Perhaps "referent" is good as well. If the relationship is "HAS-A" (in OOP-speak), which seems likely, "owner" or "descriptum" may also work. This question could do well on the English Language Stack Exchange site as well. – Patrick87 Jan 28 '21 at 15:57
-
Thank you @Patrick87, I'm using "client", like "the client who requests a service from this class". I'm Brazilian (portuguese speaker) and I think that is the term used around here "cliente"(but not sure). As I'm writing the program in english, I want the english term. – vinicius de novaes Jan 29 '21 at 16:17