|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.xpdl.model.data.ExternalReference
Reference to an external entity as defined in XPDL 1.0b1.
Field Summary |
Fields inherited from interface org.obe.xpdl.model.data.Type |
ARRAY_TYPE, BOOLEAN_TYPE, DATETIME_TYPE, DECLARED_TYPE, DEFAULT_TYPE, ENUMERATION_TYPE, EXTERNAL_REFERENCE_TYPE, FLOAT_TYPE, INTEGER_TYPE, LIST_TYPE, PERFORMER_TYPE, RECORD_TYPE, REFERENCE_TYPE, SCHEMA_TYPE, STRING_TYPE, UNDEFINED_TYPE, UNION_TYPE |
Constructor Summary | |
ExternalReference()
|
|
ExternalReference(java.lang.String location)
Construct a new ExternalReference. |
|
ExternalReference(java.lang.String location,
java.lang.String xref,
java.lang.String namespace)
Construct a new ExternalReference. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
Type |
getImpliedType()
Returns the actual type implied by this type. |
java.lang.String |
getLocation()
Get the location URI. |
java.lang.String |
getNamespace()
Get the namespace of the external reference. |
javax.xml.namespace.QName |
getQName()
|
java.lang.String |
getXref()
Get the identity of the entity in the external reference. |
int |
hashCode()
|
boolean |
isAssignableFrom(Type fromType)
Checks type compatibility in an assignment. |
void |
setLocation(java.lang.String location)
Set the location URI. |
void |
setNamespace(java.lang.String namespace)
Set the namespace of the external reference. |
void |
setXref(java.lang.String xref)
Set the identity of the entity in the external reference. |
java.lang.String |
toString()
|
int |
value()
The data type's ordinal value. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExternalReference()
public ExternalReference(java.lang.String location)
location
- The locationpublic ExternalReference(java.lang.String location, java.lang.String xref, java.lang.String namespace)
location
- The locationxref
- namespace
- Method Detail |
public int value()
Type
value
in interface Type
Type.STRING_TYPE
, Type.FLOAT_TYPE
,
Type.INTEGER_TYPE
, Type.REFERENCE_TYPE
, Type.DATETIME_TYPE
,
Type.BOOLEAN_TYPE
, Type.PERFORMER_TYPE
, Type.DECLARED_TYPE
,
Type.SCHEMA_TYPE
, Type.EXTERNAL_REFERENCE_TYPE
,
Type.RECORD_TYPE
, Type.UNION_TYPE
, Type.ENUMERATION_TYPE
,
Type.ARRAY_TYPE
, Type.LIST_TYPE
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- The new location URIpublic java.lang.String getXref()
public void setXref(java.lang.String xref)
xref
- The entity identitypublic java.lang.String getNamespace()
public void setNamespace(java.lang.String namespace)
namespace
- The namespacepublic javax.xml.namespace.QName getQName()
public boolean equals(java.lang.Object obj)
public int hashCode()
public Type getImpliedType()
Type
getImpliedType
in interface Type
public boolean isAssignableFrom(Type fromType)
Type
isAssignableFrom
in interface Type
fromType
- The type of the 'rvalue'.
true
if a value of type fromType
can
be assigned or converted to a value of type toType
.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |