| | |
| | | * @param <T> |
| | | * The type of values represented by this provider. |
| | | */ |
| | | public final class RelativeInheritedDefaultBehaviorProvider<T> implements |
| | | public final class RelativeInheritedDefaultBehaviorProvider<T> extends |
| | | DefaultBehaviorProvider<T> { |
| | | |
| | | // The type of managed object expected at the relative offset. |
| | |
| | | * @throws IllegalArgumentException |
| | | * If the offset is less than 0. |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | public RelativeInheritedDefaultBehaviorProvider( |
| | | AbstractManagedObjectDefinition<?, ?> d, String propertyName, int offset) |
| | | throws IllegalArgumentException { |
| | |
| | | |
| | | |
| | | /** |
| | | * Get the name of the property containing the inherited default |
| | | * Gets the name of the property containing the inherited default |
| | | * values. |
| | | * |
| | | * @return Returns the name of the property containing the inherited |
| | |
| | | public int getRelativeOffset() { |
| | | return offset; |
| | | } |
| | | |
| | | } |