Package com.daml.ledger.javaapi.data
Class Identifier
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Identifier
-
public final class Identifier extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Identifier(@NonNull java.lang.String packageId, @NonNull java.lang.String name)
Deprecated.Identifier(@NonNull java.lang.String packageId, @NonNull java.lang.String moduleName, @NonNull java.lang.String entityName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static @NonNull Identifier
fromProto(ValueOuterClass.Identifier identifier)
@NonNull java.lang.String
getEntityName()
@NonNull java.lang.String
getModuleName()
@NonNull java.lang.String
getName()
Deprecated.@NonNull java.lang.String
getPackageId()
int
hashCode()
ValueOuterClass.Identifier
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Identifier
@Deprecated public Identifier(@NonNull java.lang.String packageId, @NonNull java.lang.String name)
Deprecated.This constructor is deprecated in favor ofIdentifier(String, String, String)
-
Identifier
public Identifier(@NonNull java.lang.String packageId, @NonNull java.lang.String moduleName, @NonNull java.lang.String entityName)
-
-
Method Detail
-
fromProto
public static @NonNull Identifier fromProto(ValueOuterClass.Identifier identifier)
-
toProto
public ValueOuterClass.Identifier toProto()
-
getPackageId
public @NonNull java.lang.String getPackageId()
-
getName
@Deprecated public @NonNull java.lang.String getName()
Deprecated.
-
getModuleName
public @NonNull java.lang.String getModuleName()
-
getEntityName
public @NonNull java.lang.String getEntityName()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-