|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.common.api.metadata.ra.XsdString
public class XsdString

| Field Summary | |
|---|---|
protected String |
id
XML ID |
static XsdString |
NULL_XSDSTRING
A NULL immutable instance |
protected String |
tag
tag name |
protected String |
value
the actual String value |
| Constructor Summary | |
|---|---|
XsdString(String value,
String id)
Constructor without tag name |
|
XsdString(String value,
String id,
String tag)
|
|
| Method Summary | |
|---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object. |
boolean |
equals(Object obj)
|
String |
getId()
Return the String representing xml ID |
String |
getTag()
|
String |
getValue()
|
int |
hashCode()
|
static boolean |
isNull(XsdString xsdString)
convenient method to test if an XsdString is null NULLXsdString instance |
void |
setTag(String tg)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final XsdString NULL_XSDSTRING
protected final String value
protected final String id
protected String tag
| Constructor Detail |
|---|
public XsdString(String value,
String id,
String tag)
value - the actual String valueid - XML IDtag - name
public XsdString(String value,
String id)
value - the actual String valueid - XML ID| Method Detail |
|---|
public String getValue()
public String getId()
getId in interface IdDecoratedMetadataIdDecoratedMetadata.getId()public String getTag()
IdDecoratedMetadata.getId()public void setTag(String tg)
IdDecoratedMetadata.getId()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()public static boolean isNull(XsdString xsdString)
XsdString is null NULLXsdString instance
xsdString - the xsdString to test
public CopyableMetaData copy()
CopyableMetaData
copy in interface CopyableMetaData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||