|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContactAttributeValue
ContactAttributeValue contains a value for
a specific ContactAttributeMetaData.
isPredefinedValue() method returns false, this interface identifies a contact
attribute value of UCS database; in this case, the getId() method returns an ID from UCS.isPredefinedValue() method returns true, this interface identifies a value
predefined in the Configuration Layer; in this case, the getId() method returns
the value name as defined in the Configuration Layer, the getXXXValue() method contains
display name defined in the Configuration Layer, the getDescription() method returns the value's description
and the isPrimary() method returns true if the current value is the default value set in the Configuration Layer.Note: If the DATABASE service is not available, that is, if UCS is not connected,
you cannot get features associated with UCS, that is, interfaces for contact attribute
values.
ContactManager| Nested Class Summary | |
|---|---|
static class |
ContactAttributeValue.Type
Constants that describe the types of ContactAttributeValue. |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.IdObject |
|---|
IdObject.ObjectType |
| Method Summary | |
|---|---|
java.lang.String |
getAttributeId()
Returns the ContactAttributeMetaData identifier of this
ContactAttributeValue as a String. |
java.lang.String |
getAttributeName()
Returns the ContactAttributeMetaData name of this
ContactAttributeValue as a String. |
byte[] |
getBinValue()
Returns the binary value of this ContactAttributeValue as a byte array
according to the type. |
java.util.Date |
getDateValue()
Returns the date value of this ContactAttributeValue as a Date
according to the type. |
java.lang.String |
getDescription()
Returns the description of this ContactAttributeValue as a String. |
java.lang.String |
getMimeType()
Returns the MIME type of the binary value of this ContactAttributeValue as a String. |
java.lang.String |
getStrValue()
Returns the string value of this ContactAttributeValue as a String
according to the type. |
ContactAttributeValue.Type |
getType()
Returns the type of this ContactAttributeValue as a Type. |
boolean |
isPredefinedValue()
Returns the predefined status of this ContactAttributeValue as a boolean. |
boolean |
isPrimary()
Returns the primary status of this ContactAttributeValue as a boolean. |
void |
setBinValue(byte[] value)
Sets the binary value of this ContactAttributeValue as a byte array
according to the type. |
void |
setDateValue(java.util.Date value)
Sets the date value of this ContactAttributeValue as a Date
according to the type. |
void |
setDescription(java.lang.String string)
Sets the description of this ContactAttributeValue as a String. |
void |
setId(java.lang.String anId)
Sets the unique identifier of the contact attribute value (this is the ContactServerID of the value). |
void |
setMimeType(java.lang.String aMIMEType)
Sets the MIME type for the binary value of this ContactAttributeValue as a String. |
void |
setPrimary(boolean value)
Sets the primary status of this ContactAttributeValue as a boolean. |
void |
setStrValue(java.lang.String value)
Sets the string value of this ContactAttributeValue as a String
according to the type. |
| Methods inherited from interface com.genesyslab.ail.IdObject |
|---|
getId, getObjectType |
| Method Detail |
|---|
ContactAttributeValue.Type getType()
ContactAttributeValue as a Type.
ContactAttributeValue.Type.java.lang.String getStrValue()
ContactAttributeValue as a String
according to the type.
For a predefined value, returns the Configuration Layer display name.
String.void setStrValue(java.lang.String value)
ContactAttributeValue as a String
according to the type.
value - object string value.byte[] getBinValue()
ContactAttributeValue as a byte array
according to the type.
byte array.void setBinValue(byte[] value)
ContactAttributeValue as a byte array
according to the type.
value - a byte array value.java.util.Date getDateValue()
ContactAttributeValue as a Date
according to the type.
Date.void setDateValue(java.util.Date value)
ContactAttributeValue as a Date
according to the type.
value - a date value.java.lang.String getDescription()
ContactAttributeValue as a String.
For a predefined value, returns the Configuration Layer description.
String.void setDescription(java.lang.String string)
ContactAttributeValue as a String.
string - value.boolean isPrimary()
ContactAttributeValue as a boolean.
For a predefined value, returns true if the Configuration Layer value is set to 'default'.
boolean.void setPrimary(boolean value)
ContactAttributeValue as a boolean.
value - boolean value.java.lang.String getAttributeName()
ContactAttributeMetaData name of this
ContactAttributeValue as a String.
String.java.lang.String getAttributeId()
ContactAttributeMetaData identifier of this
ContactAttributeValue as a String.
String.java.lang.String getMimeType()
ContactAttributeValue as a String.
String.void setMimeType(java.lang.String aMIMEType)
ContactAttributeValue as a String.
aMIMEType - Mime Type as String.void setId(java.lang.String anId)
anId - an identifier as String.boolean isPredefinedValue()
ContactAttributeValue as a boolean.
For a predefined value, returns true.
boolean, true if predefined value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||