I have an abstract base class that many classes extend. I'd like all these classes to define a unique value for a specific property that is originally defined in the base class (similar to the serialVersionUID property that causes a warning when not defined in classes that inherit from Serializable).
Is there a way for me, within my abstract base class, to declare a property that does not have a value, but requires all extended classes to define a value for it?
Note that the value does not have to be associated with each individual instance, i.e.: it can be defined as static.
Edit: I guess a more basic question I should also ask, since the answers vary so widely, is how does Java implement serialVersionUID (in terms of its signature) such that my IDE raises warnings when it's not defined?