/** * This method exists to facilitate serialization via javabeans conventions. Unlike get(), * it will return null if isLoaded() is false. * * @return the entity referenced, or null if either the entity was not found or isLoaded() is false. */ final public T getValue() { return isLoaded() ? get() : null; }