Package fi.tut.mei.resdescapi.rescatapi
Class ResCatAPI_BySwitching
- java.lang.Object
-
- fi.tut.mei.resdescapi.rescatapi.ResCatAPI
-
- fi.tut.mei.resdescapi.rescatapi.ResCatAPI_BySwitching
-
- All Implemented Interfaces:
ResCatAPIInterface
public class ResCatAPI_BySwitching extends ResCatAPI
Resource Catalogue API which uses user set field as its search domain.- Author:
- Niko Siltala
-
-
Field Summary
-
Fields inherited from class fi.tut.mei.resdescapi.rescatapi.ResCatAPI
resCatStoHandler, searchField, searchType
-
-
Constructor Summary
Constructors Constructor Description ResCatAPI_BySwitching()
Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResCatStorageInterface.EnumSearchField
getSearchField()
Gets the current search field used for searches.void
setSearchField(ResCatStorageInterface.EnumSearchField searchField)
Sets the search field used for searches.-
Methods inherited from class fi.tut.mei.resdescapi.rescatapi.ResCatAPI
createResultMapOutOfDescInfos, getARDStructure_ARDId, getNumberOfArds, getNumberOfRds, getRDSkeleton_ARDandProfile, getRDStructure_EmptyTemplate, getRDStructure_RDId, getResCatStoHandler, getSearchType, setARDStructure, setARDStructure, setRDStructure, setRDStructure, setResCatStoHandler, setSearchType, viewARD_All, viewARD_Capability, viewARD_CapabilityParameter, viewARD_Category, viewARD_Description, viewARD_Interface, viewARD_Property, viewProfile_ARDandCapability, viewProfile_ARDandCapabilityParameter, viewProfile_Capability, viewProfile_CapabilityParameter, viewProfile_Category, viewProfile_Interface, viewProfile_Property, viewRD_All, viewRD_Capability, viewRD_CapabilityParameter, viewRD_Category, viewRD_Description, viewRD_Interface, viewRD_Property
-
-
-
-
Method Detail
-
getSearchField
public ResCatStorageInterface.EnumSearchField getSearchField()
Gets the current search field used for searches. (Id, Gid, name, or description)- Overrides:
getSearchField
in classResCatAPI
- Returns:
- the searchField
-
setSearchField
public void setSearchField(ResCatStorageInterface.EnumSearchField searchField)
Sets the search field used for searches. (Id, Gid, name, or description)- Overrides:
setSearchField
in classResCatAPI
- Parameters:
searchField
- the searchField to set
-
-