|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.force.sdk.jpa.query.TupleName
public class TupleName
This is a conveneient class to maintain short and long names for a tuple i.e. c as short and a.b.c as long name.
Constructor Summary | |
---|---|
TupleName(List<String> tuple)
Create a tuple name out of a list. |
|
TupleName(String name)
Create a tuple name from just one string. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getLongName()
Return the tuple long name. |
String |
getShortName()
Return tuple short name. |
String |
getShortNamePrefix()
Return the prefix that when combined with the tuple short name creates the tuple long name. |
List<String> |
getTuple()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TupleName(List<String> tuple)
tuple
- A list of strings that make up the namepublic TupleName(String name)
name
- the name of the tupleMethod Detail |
---|
public List<String> getTuple()
public String getShortName()
public String getShortNamePrefix()
E.g. If tuple long name is a.b.c, the short name prefix is a.b
public String getLongName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |