public class NamespaceInfo
extends java.lang.Object
| Constructor and Description |
|---|
NamespaceInfo(boolean active,
java.lang.Integer index,
java.lang.String metaId,
NamespaceType type,
java.lang.Integer depth,
java.util.List<NamespaceId> levels,
NamespaceId parentId,
PublicAccount owner,
java.math.BigInteger startHeight,
java.math.BigInteger endHeight) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getDepth()
Returns the namespace level depth
|
java.math.BigInteger |
getEndHeight()
Returns the block height the namespace expires if not renewed
|
NamespaceId |
getId()
Returns the NamespaceId
|
java.lang.Integer |
getIndex() |
java.util.List<NamespaceId> |
getLevels()
Returns the different NamespaceIds per level
|
java.lang.String |
getMetaId() |
PublicAccount |
getOwner()
Returns the mosaic owner account
|
java.math.BigInteger |
getStartHeight()
Returns the block height the namespace was registered
|
NamespaceType |
getType()
Returns the namespace type
|
boolean |
isActive()
Returns true if namespace is active
|
boolean |
isExpired()
Returns the namespace expiration status
|
boolean |
isRoot()
Returns true if namespace is Root
|
boolean |
isSubnamespace()
Returns true if namespace is Subnamespace
|
NamespaceId |
parentNamespaceId()
Returns the Parent Namespace Id
|
public NamespaceInfo(boolean active,
java.lang.Integer index,
java.lang.String metaId,
NamespaceType type,
java.lang.Integer depth,
java.util.List<NamespaceId> levels,
NamespaceId parentId,
PublicAccount owner,
java.math.BigInteger startHeight,
java.math.BigInteger endHeight)
public boolean isActive()
public boolean isExpired()
public java.lang.Integer getIndex()
public java.lang.String getMetaId()
public NamespaceType getType()
public java.lang.Integer getDepth()
public java.util.List<NamespaceId> getLevels()
public PublicAccount getOwner()
public java.math.BigInteger getStartHeight()
public java.math.BigInteger getEndHeight()
public NamespaceId getId()
public boolean isRoot()
public boolean isSubnamespace()
public NamespaceId parentNamespaceId()
java.lang.Error - if it is not a SubNamespace