public static class Id.KeySegment extends Id.Segment
| Modifier and Type | Field and Description | 
|---|---|
List<Id.NameSegment> | 
subSegmentList  | 
quoting| Constructor and Description | 
|---|
KeySegment(Id.NameSegment... subSegments)
Creates a KeySegment with one or more sub-segments. 
 | 
KeySegment(List<Id.NameSegment> subSegmentList)
Creates a KeySegment a list of sub-segments. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
List<Id.NameSegment> | 
getKeyParts()  | 
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 List<Id.NameSegment> subSegmentList
public KeySegment(Id.NameSegment... subSegments)
subSegments - Array of sub-segmentspublic KeySegment(List<Id.NameSegment> subSegmentList)
subSegmentList - List of sub-segmentspublic void toString(StringBuilder buf)
Id.SegmenttoString in class Id.Segmentbuf - String builder to write topublic List<Id.NameSegment> getKeyParts()
getKeyParts in class Id.Segmentpublic boolean matches(String name)
Id.Segmentmatches in class Id.Segmentname - Name to matchCopyright © 2019 Hitachi Vantara. All rights reserved.