public class Dimension
extends java.lang.Object
implements java.io.Serializable
The Dimension data type further expands on the identity of a metric using a Name, Value pair.
| コンストラクタと説明 |
|---|
Dimension() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the dimension.
|
java.lang.String |
getValue()
The value representing the dimension measurement
Constraints:
Length: 1 - 255 |
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the dimension.
|
void |
setValue(java.lang.String value)
The value representing the dimension measurement
Constraints:
Length: 1 - 255 |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Dimension |
withName(java.lang.String name)
The name of the dimension.
|
Dimension |
withValue(java.lang.String value)
The value representing the dimension measurement
Returns a reference to this object so that method calls can be chained together.
|
public java.lang.String getName()
Constraints:
Length: 1 - 255
public void setName(java.lang.String name)
Constraints:
Length: 1 - 255
name - The name of the dimension.public Dimension withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
name - The name of the dimension.public java.lang.String getValue()
Constraints:
Length: 1 - 255
public void setValue(java.lang.String value)
Constraints:
Length: 1 - 255
value - The value representing the dimension measurementpublic Dimension withValue(java.lang.String value)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
value - The value representing the dimension measurementpublic java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object