public static class Id.NameSegment extends Id.Segment
Id.KeySegment| Modifier and Type | Field and Description | 
|---|---|
String | 
name  | 
quoting| Constructor and Description | 
|---|
Id.NameSegment(String name)
Creates a quoted name segment. 
 | 
Id.NameSegment(String name,
              Id.Quoting quoting)
Creates a name segment with the given quoting. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
List<Id.NameSegment> | 
getKeyParts()  | 
String | 
getName()  | 
int | 
hashCode()  | 
boolean | 
matches(String name)
Returns whether this segment matches a given name according to
 the rules of case-sensitivity and quoting. 
 | 
void | 
toString(StringBuilder buf)
Appends this segment to a StringBuilder. 
 | 
getQuoting, toList, toStringpublic final String name
public Id.NameSegment(String name, Id.Quoting quoting)
name - Namequoting - Quoting stylepublic Id.NameSegment(String name)
name - Namepublic String getName()
public List<Id.NameSegment> getKeyParts()
getKeyParts in class Id.Segmentpublic void toString(StringBuilder buf)
Id.SegmenttoString in class Id.Segmentbuf - String builder to write topublic boolean matches(String name)
Id.Segmentmatches in class Id.Segmentname - Name to match