Package com.sodius.oslc.app.dng.requests
Class InsertRequirement.InsertLocation
java.lang.Object
com.sodius.oslc.app.dng.requests.InsertRequirement.InsertLocation
- Enclosing class:
InsertRequirement
Describes the location at which a requirement is to insert within a module hierarchy.
An instance of this class can be reused to instantiate multiple InsertRequirement requests.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilds an instance of InsertLocation. -
Method Summary
Modifier and TypeMethodDescriptionCreates a location builder to insert a requirement below the specified parent requirement.Creates a location builder to insert a requirement at the root of a module.Creates a location builder to insert a requirement at the root of a module.
-
Method Details
-
root
Creates a location builder to insert a requirement at the root of a module. Unless additional location information is later provided, the requirement will be inserted as last root element of the module.- Parameters:
module- the URI of a module where to insert a requirement.- Returns:
- a builder of InsertLocation.
- See Also:
-
root
Creates a location builder to insert a requirement at the root of a module. Unless additional location information is later provided, the requirement will be inserted as last root element of the module.- Parameters:
module- the module where to insert a requirement.- Returns:
- a builder of InsertLocation.
- See Also:
-
below
Creates a location builder to insert a requirement below the specified parent requirement. Unless additional location information is later provided, the requirement will be inserted as last child element of the parent requirement.- Parameters:
parent- the URI of the parent requirement, as returned by module.getUses().- Returns:
- a builder of InsertLocation.
- See Also:
-