public class AdditionalInfo
extends java.lang.Object
Java class represents an additional information (name, type, value) in the object managed by SAP Convergent Charging;
You use this typical object to customize information in your objects.| Constructor and Description |
|---|
AdditionalInfo()
Builds an empty additional information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkValidity()
Tests if this additional information is valid.
|
boolean |
equals(AdditionalInfo addInfo)
Tests if this additional information is equal to the
AdditionalInfoModel addInfo.
|
java.lang.String |
getName()
Gets the name of the additional information.
|
int |
getType()
Gets the type of the additional information.
|
java.lang.Object |
getValue()
Gets the value of the additional information depending on its type.
|
void |
setName(java.lang.String name)
Sets the name of the additional information.
|
void |
setType(int type)
Sets the additional information type.
|
void |
setValue(java.lang.Object value)
Sets the value for the additional information.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the additional informationpublic int getType()
public void setType(int type)
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - The value to give to the additional informationpublic boolean equals(AdditionalInfo addInfo)
addInfo - The additional information to comparetrue if the additional information is equal to the the parameter, false otherwisepublic boolean checkValidity()
true if this additional information is valid, false otherwise