|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.metamodel.relational.Identifier
public class Identifier
Models an identifier (name).
Constructor Summary | |
---|---|
Identifier(String name,
boolean quoted)
Constructs an identifier instance. |
Method Summary | |
---|---|
String |
encloseInQuotesIfQuoted(Dialect dialect)
If this is a quoted identifier, then return the identifier name enclosed in dialect-specific open- and end-quotes; otherwise, simply return the identifier name. |
boolean |
equals(Object o)
|
String |
getName()
Get the identifiers name (text) |
int |
hashCode()
|
boolean |
isQuoted()
Is this a quoted identifier> |
static boolean |
isQuoted(String name)
|
static Identifier |
toIdentifier(String name)
Means to generate an Identifier instance from its simple name |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Identifier(String name, boolean quoted)
name
- The identifier text.quoted
- Is this a quoted identifier?Method Detail |
---|
public static Identifier toIdentifier(String name)
Identifier
instance from its simple name
name
- The name
public static boolean isQuoted(String name)
public String getName()
public boolean isQuoted()
public String encloseInQuotesIfQuoted(Dialect dialect)
dialect
- The dialect whose dialect-specific quoting should be used.
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |