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) |
<T> T |
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.
|
boolean |
hasAttribute(String name)
Checks is an attribute is available.
|
int |
hashCode() |
boolean |
hasRemarks()
Whether remarks are available.
|
<T> com.annimon.stream.Optional<T> |
lookupAttribute(String name)
Gets an attribute.
|
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 <T> T getAttribute(String name)
getAttribute in interface AttributedObjectname - Attribute name.public final <T> T getAttribute(String name, T defaultValue)
getAttribute in interface AttributedObjectname - Attribute name.public final Map<String,Object> getAttributes()
getAttributes in interface AttributedObjectpublic String getCatalogName()
getCatalogName in interface Schemapublic String getFullName()
NamedObjectgetFullName in interface NamedObjectpublic String getLookupKey()
NamedObjectgetLookupKey in interface NamedObjectpublic String getName()
NamedObjectgetName in interface NamedObjectpublic String getRemarks()
DescribedObjectgetRemarks in interface DescribedObjectpublic boolean hasAttribute(String name)
hasAttribute in interface AttributedObjectname - Attribute name.public boolean hasRemarks()
hasRemarks in interface DescribedObjectpublic final <T> com.annimon.stream.Optional<T> lookupAttribute(String name)
lookupAttribute in interface AttributedObjectname - Attribute name.public final void removeAttribute(String name)
removeAttribute in interface AttributedObjectname - Attribute namepublic final void setAttribute(String name, Object value)
setAttribute in interface AttributedObjectname - Attribute namevalue - Attribute valueCopyright © 2000-2017 Sualeh Fatehi. All rights reserved.