Interface Direction
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, Subjugateable
A Direction is an instruction.
-
Method Summary
Modifier and TypeMethodDescriptionGets any assetIdsto assist in carrying out this direction.Gets any assets to assist in carrying out this direction.getDirectionRecord(Type directionRecordType) Gets the direction record corresponding to the givenDirectionrecordType.Gets the estimated time required for this direction.Gets any ingredientIds.Gets the required ingredients.Gets theIdsof the procedure to execute in this direction.Gets the procedures to execute in this direction.Gets the recipe.Gets theIdof the recipe.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.
-
Method Details
-
getRecipeId
Id getRecipeId()Gets theIdof the recipe.- Returns:
- the recipe
Id - Compliance:
mandatory- This method must be implemented.
-
getRecipe
Gets the recipe.- Returns:
- the recipe
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getProcedureIds
IdList getProcedureIds()Gets theIdsof the procedure to execute in this direction.- Returns:
- the procedure
Ids - Compliance:
mandatory- This method must be implemented.
-
getProcedures
Gets the procedures to execute in this direction.- Returns:
- the procedures
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getIngredientIds
IdList getIngredientIds()Gets any ingredientIds.- Returns:
- the ingredient
Ids - Compliance:
mandatory- This method must be implemented.
-
getIngredients
Gets the required ingredients.- Returns:
- the ingredients
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getEstimatedDuration
Duration getEstimatedDuration()Gets the estimated time required for this direction.- Returns:
- the estimated duration
- Compliance:
mandatory- This method must be implemented.
-
getAssetIds
IdList getAssetIds()Gets any assetIdsto assist in carrying out this direction.- Returns:
- the asset
Ids - Compliance:
mandatory- This method must be implemented.
-
getAssets
Gets any assets to assist in carrying out this direction.- Returns:
- the assets
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getDirectionRecord
DirectionRecord getDirectionRecord(Type directionRecordType) throws OperationFailedException, PermissionDeniedException Gets the direction record corresponding to the givenDirectionrecordType. This method is used to retrieve an object implementing the requested record. ThedirectionRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(directionRecordType)istrue.- Parameters:
directionRecordType- the type of direction record to retrieve- Returns:
- the direction record
- Throws:
NullArgumentException-directionRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(directionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-