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() |
static PathElement |
of(String kind,
long id) |
static PathElement |
of(String kind,
String name) |
String |
toString() |
public String getKind()
public boolean hasId()
public Long getId()
public boolean hasName()
public String getName()
public Object getNameOrId()
public static PathElement of(String kind, String name)
public static PathElement of(String kind, long id)
Copyright © 2023 Google LLC. All rights reserved.