Interface ProxyCondition
- All Superinterfaces:
Extensible, OsidCondition, Suppliable
A ProxyCondition is used to transfer external information into
a proxy.
-
Method Summary
Modifier and TypeMethodDescriptiongetProxyConditionRecord(Type proxyConditionType) Gets the proxy condition record corresponding to the givenProxyrecordType.This method is used to retrieve an object implementing the requested record.voidsetCalendarType(Type calendarType) Sets the calendar type.voidsetClockRate(BigDecimal rate) Sets the clock rate.voidsetCurrencyType(Type currencyType) Sets the currency type.voidsetEffectiveAgentId(Id agentId) Sets the effective agentIdto indicate acting on behalf of.voidsetFormatType(Type formatType) Sets theDisplayTextformat type.voidsetLanguageType(Type languageType) Sets the language type.voidsetScriptType(Type scriptType) Sets the script type.voidsetTimeType(Type timeType) Sets the time type.voidsetUnitSystemType(Type unitSystemType) Sets the unit system 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.
-
Method Details
-
setEffectiveAgentId
Sets the effective agentIdto indicate acting on behalf of.- Parameters:
agentId- an agentId- Throws:
NullArgumentException-agentIdisnull- Compliance:
mandatory- This method must be implemented.
-
setLanguageType
Sets the language type.- Parameters:
languageType- the language type- Throws:
NullArgumentException-languageTypeisnull- Compliance:
mandatory- This method must be implemented.
-
setScriptType
Sets the script type.- Parameters:
scriptType- the script type- Throws:
NullArgumentException-scriptTypeisnull- Compliance:
mandatory- This method must be implemented.
-
setCalendarType
Sets the calendar type.- Parameters:
calendarType- the calendar type- Throws:
NullArgumentException-calendarTypeisnull- Compliance:
mandatory- This method must be implemented.
-
setTimeType
Sets the time type.- Parameters:
timeType- the time type- Throws:
NullArgumentException-timeTypeisnull- Compliance:
mandatory- This method must be implemented.
-
setCurrencyType
Sets the currency type.- Parameters:
currencyType- the currency type- Throws:
NullArgumentException-currencyTypeisnull- Compliance:
mandatory- This method must be implemented.
-
setUnitSystemType
Sets the unit system type.- Parameters:
unitSystemType- the unit system type- Throws:
NullArgumentException-unitSystemTypeisnull- Compliance:
mandatory- This method must be implemented.
-
setFormatType
Sets theDisplayTextformat type.- Parameters:
formatType- the format type- Throws:
NullArgumentException-formatTypeisnull- Compliance:
mandatory- This method must be implemented.
-
setClockRate
Sets the clock rate.- Parameters:
rate- the rate at which the clock should tick from the given effective date. 0 is a clock that is fixed- Throws:
NullArgumentException-rateisnull- Compliance:
mandatory- This method must be implemented.
-
getProxyConditionRecord
ProxyConditionRecord getProxyConditionRecord(Type proxyConditionType) throws OperationFailedException Gets the proxy condition record corresponding to the givenProxyrecordType.This method is used to retrieve an object implementing the requested record. TheproxyRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(proxyRecordType)istrue.- Parameters:
proxyConditionType- the type of proxy condition record to retrieve- Returns:
- the proxy condition record
- Throws:
NullArgumentException-proxyConditionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(proxyConditionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-