|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UsageRecord
Method Summary | |
---|---|
String |
getAggregatedId()
Return the id of the usage record aggregating this |
String |
getConsumerId()
Return the identity of the entity that consumed the resource |
Calendar |
getCreateTime()
Return the creation time for this usage record |
String |
getCreatorId()
Return the identity of the entity creating this usage record |
Map<String,String> |
getCustomProperties()
Return all user-defined properties |
String |
getCustomProperty(String name)
Return the value of the given user-defined property |
Calendar |
getEndTime()
Return the right end of the time interval covered by this usage record |
String |
getFullyQualifiedConsumerId()
|
String |
getId()
Return the unique id for this usage record |
Calendar |
getModifyTime()
Return the modify time for this usage record |
String |
getResourceOwner()
Return the identity of the owner of the resource |
String |
getResourceScope()
Return the scope of the resource |
Map<String,String> |
getResourceSpecificProperties()
Return all resource-specific properties |
String |
getResourceSpecificProperty(String name)
Return the value of the given resource-specific property |
String |
getResourceType()
Return the type of the resource this usage records refers to |
Calendar |
getStartTime()
Return the left end of the time interval covered by this usage record |
void |
setAggregatedId(String aggregatedId)
Set the id of the usage record aggregating this |
void |
setConsumerId(String consumerId)
Set the identity of the entity that consumed the resource |
void |
setCreateTime(Calendar createTime)
Set the creation time for this usage record |
void |
setCreatorId(String creatorId)
Set the identity of the entity creating this usage record |
void |
setCustomProperties(Map<String,String> props)
Set all user-defined properties, replacing existing ones |
void |
setCustomProperty(String name,
String value)
Set the value of the given user-defined property |
void |
setEndTime(Calendar endTime)
Set the right end of the time interval covered by this usage record |
void |
setFullyQualifiedConsumerId(String fqcid)
|
void |
setId(String id)
Set the unique id for this usage record |
void |
setModifyTime(Calendar modifyTime)
Set the modification time for this usage record |
void |
setResourceOwner(String owner)
Set the scope of the resource |
void |
setResourceScope(String scope)
Set the scope of the resource |
void |
setResourceSpecificProperties(Map<String,String> props)
Set all resource-specific properties, replacing existing ones |
void |
setResourceSpecificProperty(String key,
String value)
Set the value of the given resource-specific property |
void |
setResourceType(String resourceType)
Set the type of the resource this usage records refers to |
void |
setStartTime(Calendar startTime)
Set the left end of the time interval covered by this usage record |
void |
validate()
|
Method Detail |
---|
Calendar getCreateTime()
void setCreateTime(Calendar createTime)
createTime
- Calendar getModifyTime()
void setModifyTime(Calendar modifyTime) throws InvalidValueException
modifyTime
-
InvalidValueException
String getCreatorId()
void setCreatorId(String creatorId)
creatorId
- String getConsumerId()
void setConsumerId(String consumerId)
String getFullyQualifiedConsumerId()
void setFullyQualifiedConsumerId(String fqcid)
Calendar getStartTime()
void setStartTime(Calendar startTime) throws InvalidValueException
InvalidValueException
Calendar getEndTime()
void setEndTime(Calendar endTime) throws InvalidValueException
InvalidValueException
String getId()
void setId(String id)
id
- String getAggregatedId()
void setAggregatedId(String aggregatedId)
aggregatedId
- String getResourceType()
void setResourceType(String resourceType)
resourceType
- String getResourceOwner()
void setResourceScope(String scope)
String getResourceScope()
void setResourceOwner(String owner)
String getResourceSpecificProperty(String name)
name
-
void setResourceSpecificProperty(String key, String value)
key
- value
- String getCustomProperty(String name)
name
-
void setCustomProperty(String name, String value)
name
- Map<String,String> getResourceSpecificProperties()
void setResourceSpecificProperties(Map<String,String> props)
Map<String,String> getCustomProperties()
void setCustomProperties(Map<String,String> props)
void validate() throws InvalidValueException
InvalidValueException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |