Package com.casper.sdk.model.entity
Class AddressableEntity
- java.lang.Object
-
- com.casper.sdk.model.entity.AddressableEntity
-
- All Implemented Interfaces:
StateEntity
public class AddressableEntity extends java.lang.Object implements StateEntity
An addressable entity. Methods and type signatures supported by a contract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressableEntity.AddressableEntityBuilder
-
Constructor Summary
Constructors Constructor Description AddressableEntity()AddressableEntity(Entity entity, java.util.List<NamedKey> namedKeys, java.util.List<EntryPointValue> entryPoints)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressableEntity.AddressableEntityBuilderbuilder()EntitygetEntity()The addressable entity.java.util.List<EntryPointValue>getEntryPoints()The entry points of the addressable entity.java.util.List<NamedKey>getNamedKeys()The named keys of the addressable entity.voidsetEntity(Entity entity)The addressable entity.voidsetEntryPoints(java.util.List<EntryPointValue> entryPoints)The entry points of the addressable entity.voidsetNamedKeys(java.util.List<NamedKey> namedKeys)The named keys of the addressable entity.
-
-
-
Constructor Detail
-
AddressableEntity
public AddressableEntity()
-
AddressableEntity
public AddressableEntity(Entity entity, java.util.List<NamedKey> namedKeys, java.util.List<EntryPointValue> entryPoints)
-
-
Method Detail
-
builder
public static AddressableEntity.AddressableEntityBuilder builder()
-
getEntity
public Entity getEntity()
The addressable entity.
-
getNamedKeys
public java.util.List<NamedKey> getNamedKeys()
The named keys of the addressable entity.
-
getEntryPoints
public java.util.List<EntryPointValue> getEntryPoints()
The entry points of the addressable entity.
-
setEntity
public void setEntity(Entity entity)
The addressable entity.
-
setNamedKeys
public void setNamedKeys(java.util.List<NamedKey> namedKeys)
The named keys of the addressable entity.
-
setEntryPoints
public void setEntryPoints(java.util.List<EntryPointValue> entryPoints)
The entry points of the addressable entity.
-
-