|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class CVWObjNum

java.lang.Objectorg.mitre.cvw.CVWObjNum
- All Implemented Interfaces:
- java.io.Serializable
- public class CVWObjNum
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
This class represents the object number of all objects on the CVW server. It is in the format of #xxxx. If the string used to create the CVWObjNum doesn't have a #, it inserts one.
- Version:
- 1.0
| Field Summary | |
(package private) int |
numValue
|
(package private) java.lang.String |
server
|
(package private) java.lang.String |
strValue
|
| Constructor Summary | |
CVWObjNum(int num)
Constructor |
|
CVWObjNum(java.lang.String str)
Constructor |
|
| Method Summary | |
boolean |
equals(CVWObject cvwObj)
Returns whether the this object number is the same as that of the CVWObject passed in, using int comparison. |
boolean |
equals(CVWObjNum objNum)
Returns whether the two object numbers are the same using int comparison. |
boolean |
equals(int num)
Checks whether the two object numbers are the same using int comparison. |
boolean |
equals(java.lang.Integer num)
Checks whether the two object numbers are the same using Integer comparison. |
boolean |
equals(java.lang.Object obj)
Returns whether the two object numbers are the same using int comparison. |
boolean |
equals(java.lang.String str)
Checks whether the two object numbers are the same using string comparison. |
int |
hashCode()
Returns a hashcode for this object number. |
int |
intValue()
Returns a int representing the object number. |
java.lang.String |
serverValue()
Returns the server identity portion, if it exists. |
java.lang.String |
strValue()
Returns a string representing the object number. |
java.lang.String |
toString()
Returns a string representation of this component and its values. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
strValue
java.lang.String strValue
numValue
int numValue
server
java.lang.String server
| Constructor Detail |
CVWObjNum
public CVWObjNum(java.lang.String str)
- Constructor
CVWObjNum
public CVWObjNum(int num)
- Constructor
| Method Detail |
intValue
public int intValue()
- Returns a int representing the object number.
strValue
public java.lang.String strValue()
- Returns a string representing the object number.
serverValue
public java.lang.String serverValue()
- Returns the server identity portion, if it exists.
equals
public boolean equals(java.lang.Object obj)
- Returns whether the two object numbers are the same using int comparison.
If the object isnt even a CVWObjNum, then return
false.
equals
public boolean equals(CVWObject cvwObj)
- Returns whether the this object number is the same as that of the CVWObject
passed in, using int comparison.
equals
public boolean equals(CVWObjNum objNum)
- Returns whether the two object numbers are the same using int comparison.
equals
public boolean equals(java.lang.String str)
- Checks whether the two object numbers are the same using string comparison.
equals
public boolean equals(int num)
- Checks whether the two object numbers are the same using int comparison.
equals
public boolean equals(java.lang.Integer num)
- Checks whether the two object numbers are the same using Integer comparison.
Don't use this one!!!!
hashCode
public int hashCode()
- Returns a hashcode for this object number.
toString
public java.lang.String toString()
- Returns a string representation of this component and its values.
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mitre.cvw.CVWObjNum