|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsFAXNumber
Provides access to values of the FAX Number attribute. It is used for attributes whose values are strings that comply with the format for international telephone numbers, E.123, and an optional bit string formatted according to Recommendation T.30.
Fax telephone number values are matched based on the telephone number field. The rules for matching fax telephone numbers are identical to those for the Case Exact String syntax except that all space and hyphen (-) characters are skipped during the comparison.
Matching Rules: Equality
NdsSyntaxId
Constructor Summary | |
NdsFAXNumber(java.lang.String telephoneNumber,
long bitCount,
byte[] parameters)
Constructs an NdsFAXNumber object based on the specified telephoneNumber, bitCount, and parameters variables. |
Method Summary | |
boolean |
approximate(java.lang.Object anObject)
Compares two Objects using the approximate matching rule. |
java.lang.Object |
clone()
Creates a new object of the same class as this object. |
int |
compareTo(java.lang.Object anObject)
Compares two objects for ordering, or compares two strings lexicographically. |
int |
count()
Returns the number of elements in this sequence. |
boolean |
equals(java.lang.Object anObject)
Compares two Objects for equality. |
long |
getBitCount()
Returns the long value of bitCount stored in the NDS attribute. |
int |
getNdsSyntaxId()
Returns the int that represents the NDS syntaxId. |
byte[] |
getParameters()
Returns the byte array of parameters stored in the NDS attribute. |
java.lang.String |
getTelephoneNumber()
Returns the String value of telephoneNumber stored in the NDS attribute. |
|
getValue(java.lang.String compositeId)
Returns a SchemaValue object based on the given passed-in string containing the element value. |
java.util.Enumeration |
getValueIds()
Returns an enumeration of element IDs in this composite. |
java.util.Enumeration |
getValues()
Returns an enumeration of element values in this composite. |
boolean |
supportsMatchingRules(int matchingRules)
Checks to see if this object supports the specified matching rules. |
java.lang.String |
toString()
Generates a string representation of the object. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NdsFAXNumber(java.lang.String telephoneNumber, long bitCount, byte[] parameters)
telephoneNumber
- Telephone number to be stored as a String.bitCount
- Bit count to be stored as a long.parameters
- Byte array of parameters(bit string and its
length).Method Detail |
public int compareTo(java.lang.Object anObject) throws java.lang.Exception
public boolean equals(java.lang.Object anObject)
The equals method implements the most discriminating possible equivalence relation on objects; that is, for any reference values X and Y, this method returns TRUE if and only if X and Y refer to the same object (X==Y has the value TRUE).
anObject
- The reference object with which to compare.public int count()
public getValue(java.lang.String compositeId)
compositeId
- Passed-in string containing the element
value.public java.util.Enumeration getValueIds()
public java.util.Enumeration getValues()
public boolean approximate(java.lang.Object anObject) throws java.lang.Exception
public int getNdsSyntaxId()
public boolean supportsMatchingRules(int matchingRules)
The NdsFaxNumber syntax supports only the equality matching rule.
matchingRules
- The set of matching rules to check.public java.lang.Object clone()
public java.lang.String toString()
public java.lang.String getTelephoneNumber()
public long getBitCount()
public byte[] getParameters()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |