public final class SchemaReference extends java.lang.Object implements Schema
| Constructor and Description |
|---|
SchemaReference() |
SchemaReference(java.lang.String catalogName,
java.lang.String schemaName) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NamedObject otherSchemaRef) |
boolean |
equals(java.lang.Object obj) |
<T> T |
getAttribute(java.lang.String name)
Gets an attribute.
|
<T> T |
getAttribute(java.lang.String name,
T defaultValue)
Gets an attribute.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Gets all attributes.
|
java.lang.String |
getCatalogName() |
java.lang.String |
getFullName()
Getter for fully qualified name of object.
|
java.lang.String |
getName()
Getter for name of object.
|
java.lang.String |
getRemarks()
Getter for remarks.
|
boolean |
hasAttribute(java.lang.String name)
Checks is an attribute is available.
|
int |
hashCode() |
boolean |
hasRemarks()
Whether remarks are available.
|
<T> java.util.Optional<T> |
lookupAttribute(java.lang.String name)
Gets an attribute.
|
void |
removeAttribute(java.lang.String name)
Removes an attribute.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets an attribute.
|
java.lang.String |
toString() |
java.util.List<java.lang.String> |
toUniqueLookupKey()
A value guaranteed to be unique in the database for this object.
|
public SchemaReference()
public SchemaReference(java.lang.String catalogName,
java.lang.String schemaName)
public int compareTo(NamedObject otherSchemaRef)
compareTo in interface java.lang.Comparable<NamedObject>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final <T> T getAttribute(java.lang.String name)
getAttribute in interface AttributedObjectname - Attribute name.public final <T> T getAttribute(java.lang.String name,
T defaultValue)
getAttribute in interface AttributedObjectname - Attribute name.public final java.util.Map<java.lang.String,java.lang.Object> getAttributes()
getAttributes in interface AttributedObjectpublic java.lang.String getCatalogName()
getCatalogName in interface Schemapublic java.lang.String getFullName()
NamedObjectgetFullName in interface NamedObjectpublic java.lang.String getName()
NamedObjectgetName in interface NamedObjectpublic java.lang.String getRemarks()
DescribedObjectgetRemarks in interface DescribedObjectpublic boolean hasAttribute(java.lang.String name)
hasAttribute in interface AttributedObjectname - Attribute name.public int hashCode()
hashCode in class java.lang.Objectpublic boolean hasRemarks()
hasRemarks in interface DescribedObjectpublic final <T> java.util.Optional<T> lookupAttribute(java.lang.String name)
lookupAttribute in interface AttributedObjectname - Attribute name.public final void removeAttribute(java.lang.String name)
removeAttribute in interface AttributedObjectname - Attribute namepublic final void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface AttributedObjectname - Attribute namevalue - Attribute valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<java.lang.String> toUniqueLookupKey()
NamedObjecttoUniqueLookupKey in interface NamedObjectCopyright © 2000-2018 Sualeh Fatehi. All rights reserved.