@NotThreadSafe public class PDIdentifier extends Object implements com.helger.json.IHasJson, Serializable, com.helger.commons.lang.ICloneable<PDIdentifier>
| Constructor and Description |
|---|
PDIdentifier() |
PDIdentifier(String sScheme,
String sValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
cloneTo(PDIdentifier ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o) |
com.helger.json.IJsonObject |
getAsJson() |
static com.helger.json.IJsonObject |
getAsJson(String sScheme,
String sValue) |
com.helger.xml.microdom.IMicroElement |
getAsMicroXML(String sNamespaceURI,
String sElementName) |
PDIdentifier |
getClone() |
String |
getScheme() |
String |
getValue() |
int |
hashCode() |
static PDIdentifier |
of(com.helger.json.IJsonObject aJson) |
PDIdentifier |
setScheme(String sScheme)
Set the identifier scheme.
|
PDIdentifier |
setValue(String sValue)
Set the identifier value.
|
String |
toString() |
@Nonnull public final PDIdentifier setScheme(@Nullable String sScheme)
sScheme - The scheme. May be null.@Nonnull public final PDIdentifier setValue(@Nullable String sValue)
sValue - The value. May be null.public void cloneTo(@Nonnull PDIdentifier ret)
this to the passed object.
All data in the parameter object is overwritten!ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public PDIdentifier getClone()
getClone in interface com.helger.commons.lang.ICloneable<PDIdentifier>@Nonnull public com.helger.xml.microdom.IMicroElement getAsMicroXML(@Nullable String sNamespaceURI, @Nonnull @Nonempty String sElementName)
@Nonnull public static com.helger.json.IJsonObject getAsJson(@Nullable String sScheme, @Nullable String sValue)
@Nonnull public com.helger.json.IJsonObject getAsJson()
getAsJson in interface com.helger.json.IHasJson@Nullable public static PDIdentifier of(@Nullable com.helger.json.IJsonObject aJson)
Copyright © 2015–2021 Philip Helger. All rights reserved.