Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

For example I have a utility Class which contains a few constants (GCMConstants), this class is used in one method in the application. However as it is not a member of the Class it should not be modeled via an association link. Should I continue as is and not include a link or should I include one?

I've checked my UML books but none of them seem to cover stuff like this.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

It sounds like the class should be a private inner class of the class that uses it. As such it is an implementation detail. Depending on what level of detail your overall diagram is, I would leave it out of the bigger picture.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.