Interface MeteringProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
MeteringManager, MeteringProxyManager
The metering profile describes the interoperability among metering services.
-
Method Summary
Modifier and TypeMethodDescriptionGets the supportedMeterrecord types.Gets the supported meter search record types.Gets the supportedStatisticrecord types.Gets the supported statistic search record types.Gets the supportedUtilityrecord types.Gets the supported utility search record types.booleanTests for the availability of a metering batch service.booleanTests for the availability of a metering threshold service.booleanTests if looking up meters is supported.booleanTests if meter notification is supported,.booleanTests if querying meters is supported.booleanTests if reading meters is supported.booleansupportsMeterRecordType(Type meterRecordType) Tests if the givenMeterrecord type is supported.booleanTests if searching meters is supported.booleansupportsMeterSearchRecordType(Type meterSearchRecordType) Tests if the given meter search record type is supported.booleanTests if looking up meter utlity mappings is supported,.booleanTests if managing meter utlity mappings is supported,.booleanTests if managing meter smart utlity service is supported,.booleanTests if statistical lookup is supported.booleanTests if statistical notification is supported.booleanTests if statistical query is supported.booleansupportsStatisticRecordType(Type statisticRecordType) Tests if the givenStatisticrecord type is supported.booleanTests if statistical search is supported.booleansupportsStatisticSearchRecordType(Type statisticSearchRecordType) Tests if the given statistic search record type is supported.booleanTests if statistical smart utilitiy is supported.booleanTests for the availability of a utility administrative service for creating and deleting utilities.booleanTests for the availability of a utility hierarchy traversal service.booleanTests for the availability of a utility hierarchy design service.booleanTests for the availability of a utility lookup service.booleanTests for the availability of a utility notification service.booleanTests for the availability of a utility query service.booleansupportsUtilityRecordType(Type utilityRecordType) Tests if the givenUtilityrecord type is supported.booleanTests if searching for utilities is available.booleansupportsUtilitySearchRecordType(Type utilitySearchRecordType) Tests if the given utility search record type is supported.booleanTests if visible federation is supported.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
supportsVisibleFederation
boolean supportsVisibleFederation()Tests if visible federation is supported.- Returns:
trueif visible federation is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsMeterReading
boolean supportsMeterReading()Tests if reading meters is supported.- Returns:
trueif reading meters is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticLookup
boolean supportsStatisticLookup()Tests if statistical lookup is supported.- Returns:
trueif statistical lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticQuery
boolean supportsStatisticQuery()Tests if statistical query is supported.- Returns:
trueif statistical query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticSearch
boolean supportsStatisticSearch()Tests if statistical search is supported.- Returns:
trueif statistical search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticNotification
boolean supportsStatisticNotification()Tests if statistical notification is supported.- Returns:
trueif statistical notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticSmartUtility
boolean supportsStatisticSmartUtility()Tests if statistical smart utilitiy is supported.- Returns:
trueif statistical smart utility is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsMeterLookup
boolean supportsMeterLookup()Tests if looking up meters is supported.- Returns:
trueif looking up meters is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsMeterQuery
boolean supportsMeterQuery()Tests if querying meters is supported.- Returns:
trueif querying meters is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsMeterSearch
boolean supportsMeterSearch()Tests if searching meters is supported.- Returns:
trueif searching meters is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsMeterNotification
boolean supportsMeterNotification()Tests if meter notification is supported,.- Returns:
trueif meter notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsMeterUtility
boolean supportsMeterUtility()Tests if looking up meter utlity mappings is supported,.- Returns:
trueif utility meter mapping is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsMeterUtilityAssignment
boolean supportsMeterUtilityAssignment()Tests if managing meter utlity mappings is supported,.- Returns:
trueif assigning utility meter mappings is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsSmartMeterUtility
boolean supportsSmartMeterUtility()Tests if managing meter smart utlity service is supported,.- Returns:
trueif a meter smart utility service is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsUtilityLookup
boolean supportsUtilityLookup()Tests for the availability of a utility lookup service.- Returns:
trueif utility lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsUtilityQuery
boolean supportsUtilityQuery()Tests for the availability of a utility query service.- Returns:
trueif utility query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsUtilitySearch
boolean supportsUtilitySearch()Tests if searching for utilities is available.- Returns:
trueif utility search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsUtilityAdmin
boolean supportsUtilityAdmin()Tests for the availability of a utility administrative service for creating and deleting utilities.- Returns:
trueif utility administration is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsUtilityNotification
boolean supportsUtilityNotification()Tests for the availability of a utility notification service.- Returns:
trueif utility notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsUtilityHierarchy
boolean supportsUtilityHierarchy()Tests for the availability of a utility hierarchy traversal service.- Returns:
trueif utility hierarchy traversal is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsUtilityHierarchyDesign
boolean supportsUtilityHierarchyDesign()Tests for the availability of a utility hierarchy design service.- Returns:
trueif utility hierarchy design is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsMeteringBatch
boolean supportsMeteringBatch()Tests for the availability of a metering batch service.- Returns:
trueif metering batch service is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsMeteringThreshold
boolean supportsMeteringThreshold()Tests for the availability of a metering threshold service.- Returns:
trueif a metering threshold service is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
getStatisticRecordTypes
TypeList getStatisticRecordTypes()Gets the supportedStatisticrecord types.- Returns:
- a list containing the supported statistic record types
- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticRecordType
Tests if the givenStatisticrecord type is supported.- Parameters:
statisticRecordType- aTypeindicating aStatisticrecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-statisticRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getStatisticSearchRecordTypes
TypeList getStatisticSearchRecordTypes()Gets the supported statistic search record types.- Returns:
- a list containing the supported statistic search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticSearchRecordType
Tests if the given statistic search record type is supported.- Parameters:
statisticSearchRecordType- aTypeindicating a statistic record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-statisticSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getMeterRecordTypes
TypeList getMeterRecordTypes()Gets the supportedMeterrecord types.- Returns:
- a list containing the supported meter record types
- Compliance:
mandatory- This method must be implemented.
-
supportsMeterRecordType
Tests if the givenMeterrecord type is supported.- Parameters:
meterRecordType- aTypeindicating aMeterrecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-meterRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getMeterSearchRecordTypes
TypeList getMeterSearchRecordTypes()Gets the supported meter search record types.- Returns:
- a list containing the supported meter search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsMeterSearchRecordType
Tests if the given meter search record type is supported.- Parameters:
meterSearchRecordType- aTypeindicating a meter record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-meterSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getUtilityRecordTypes
TypeList getUtilityRecordTypes()Gets the supportedUtilityrecord types.- Returns:
- a list containing the supported utility record types
- Compliance:
mandatory- This method must be implemented.
-
supportsUtilityRecordType
Tests if the givenUtilityrecord type is supported.- Parameters:
utilityRecordType- aTypeindicating aUtilityrecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-utilityRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getUtilitySearchRecordTypes
TypeList getUtilitySearchRecordTypes()Gets the supported utility search record types.- Returns:
- a list containing the supported utility search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsUtilitySearchRecordType
Tests if the given utility search record type is supported.- Parameters:
utilitySearchRecordType- aTypeindicating a utility record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-utilitySearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-