public interface CcAttribute
The ClearCase attribute mechanism lets you associate arbitrary name/value pairs with particular ClearCase versions or elements.
This interface provides an aggregate object for handling these name/value pairs.
Modifier and Type | Method and Description |
---|---|
int |
getIntegerValue()
If the attribute's value type is INTEGER, retrieve it as such.
|
String |
getName()
Get the attribute's name.
|
byte[] |
getOpaqueValue()
If the attribute's value type is OPAQUE, retrieve it as such.
|
double |
getRealValue()
If the attribute's value type is REAL, retrieve it as such.
|
String |
getStringValue()
If the attribute's value type is STRING, retrieve it as such.
|
Date |
getTimeValue()
If the attribute's value type is TIME, retrieve it as such.
|
String |
getValue()
Get the attribute's value.
|
CcAttributeType.ValueType |
getValueType()
Get the type of the attribute's value data.
|
int getIntegerValue() throws Exception
Exception
- if value type is not INTEGER.String getName() throws WvcmException
WvcmException
byte[] getOpaqueValue() throws Exception
Exception
- if value type is not OPAQUE.double getRealValue() throws Exception
Exception
- if value type is not REAL.String getStringValue() throws Exception
Exception
- if value type is not STRING.Date getTimeValue() throws Exception
Exception
- if value type is not TIME.String getValue()
CcAttributeType.ValueType getValueType()
Copyright © IBM 2016. All rights reserved.