public final class PathElement extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getId()
Returns the ID of this path element.
|
String |
getKind()
Returns the kind of this path element.
|
String |
getName()
Returns the name of this path element.
|
Object |
getNameOrId()
|
int |
hashCode() |
boolean |
hasId() |
boolean |
hasName() |
Long |
id()
Deprecated.
|
String |
kind()
Deprecated.
|
String |
name()
Deprecated.
|
Object |
nameOrId()
Deprecated.
|
static PathElement |
of(String kind,
long id) |
static PathElement |
of(String kind,
String name) |
String |
toString() |
@Deprecated public String kind()
public String getKind()
public boolean hasId()
@Deprecated public Long id()
public Long getId()
public boolean hasName()
@Deprecated public String name()
public String getName()
@Deprecated public Object nameOrId()
public Object getNameOrId()
public static PathElement of(String kind, String name)
public static PathElement of(String kind, long id)
Copyright © 2016 Google. All rights reserved.