public final class SchemaReference extends Object implements Schema
Constructor and Description |
---|
SchemaReference() |
SchemaReference(String catalogName,
String schemaName) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NamedObject otherSchemaRef) |
boolean |
equals(Object obj) |
Object |
getAttribute(String name)
Gets an attribute.
|
<T> T |
getAttribute(String name,
T defaultValue)
Gets an attribute.
|
Map<String,Object> |
getAttributes()
Gets all attributes.
|
String |
getCatalogName() |
String |
getFullName()
Getter for fully qualified name of object.
|
String |
getLookupKey()
A value guaranteed to be unique in the database for this object.
|
String |
getName()
Getter for name of object.
|
String |
getRemarks()
Getter for remarks.
|
int |
hashCode() |
boolean |
hasRemarks()
Whether remarks are available.
|
void |
removeAttribute(String name)
Removes an attribute.
|
void |
setAttribute(String name,
Object value)
Sets an attribute.
|
String |
toString() |
public int compareTo(NamedObject otherSchemaRef)
compareTo
in interface Comparable<NamedObject>
public final Object getAttribute(String name)
getAttribute
in interface NamedObjectWithAttributes
name
- Attribute name.NamedObjectWithAttributes.getAttribute(java.lang.String)
public final <T> T getAttribute(String name, T defaultValue)
getAttribute
in interface NamedObjectWithAttributes
name
- Attribute name.NamedObjectWithAttributes.getAttribute(java.lang.String,
java.lang.Object)
public final Map<String,Object> getAttributes()
getAttributes
in interface NamedObjectWithAttributes
NamedObjectWithAttributes.getAttributes()
public String getCatalogName()
getCatalogName
in interface Schema
public String getFullName()
NamedObject
getFullName
in interface NamedObject
public String getLookupKey()
NamedObject
getLookupKey
in interface NamedObject
public String getName()
NamedObject
getName
in interface NamedObject
public String getRemarks()
NamedObjectWithAttributes
getRemarks
in interface NamedObjectWithAttributes
public boolean hasRemarks()
hasRemarks
in interface NamedObjectWithAttributes
NamedObjectWithAttributes.hasRemarks()
public final void removeAttribute(String name)
removeAttribute
in interface NamedObjectWithAttributes
name
- Attribute namepublic final void setAttribute(String name, Object value)
setAttribute
in interface NamedObjectWithAttributes
name
- Attribute namevalue
- Attribute valueNamedObjectWithAttributes.setAttribute(String, Object)
Copyright © 2000-2014 Sualeh Fatehi. All rights reserved.