public final class PropertyName extends Object implements Comparable<PropertyName>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_SEGMENT_SEPARATOR
The system property key of property name segment separator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PropertyName o) |
boolean |
equals(Object obj) |
List<String> |
getWords()
Returns the words which consists this property name.
|
int |
hashCode() |
static PropertyName |
newInstance(List<String> words)
Creates a new instance.
|
static PropertyName |
newInstance(String... words)
Creates a new instance.
|
static PropertyName |
parse(String term)
Parses a property name term and creates a new instance.
|
String |
toString() |
public static final String KEY_SEGMENT_SEPARATOR
public static PropertyName newInstance(List<String> words)
words - the words which consists this nameIllegalArgumentException - if some parameters were nullpublic static PropertyName newInstance(String... words)
words - the words which consists this nameIllegalArgumentException - if some parameters were nullpublic static PropertyName parse(String term)
term - the property name termpublic List<String> getWords()
public int compareTo(PropertyName o)
compareTo in interface Comparable<PropertyName>Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.