Package io.gs2.skillTree.model
Class NodeModel
java.lang.Object
io.gs2.skillTree.model.NodeModel
- All Implemented Interfaces:
IModel,Serializable,Comparable<NodeModel>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic NodeModelfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetMetadata(String metadata) voidvoidsetNodeModelId(String nodeModelId) voidsetPremiseNodeNames(List<String> premiseNodeNames) voidsetReleaseConsumeActions(List<ConsumeAction> releaseConsumeActions) voidsetRestrainReturnRate(Float restrainReturnRate) voidsetReturnAcquireActions(List<AcquireAction> returnAcquireActions) com.fasterxml.jackson.databind.JsonNodetoJson()withMetadata(String metadata) withNodeModelId(String nodeModelId) withPremiseNodeNames(List<String> premiseNodeNames) withReleaseConsumeActions(List<ConsumeAction> releaseConsumeActions) withRestrainReturnRate(Float restrainReturnRate) withReturnAcquireActions(List<AcquireAction> returnAcquireActions)
-
Constructor Details
-
NodeModel
public NodeModel()
-
-
Method Details
-
getNodeModelId
-
setNodeModelId
-
withNodeModelId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getReleaseConsumeActions
-
setReleaseConsumeActions
-
withReleaseConsumeActions
-
getReturnAcquireActions
-
setReturnAcquireActions
-
withReturnAcquireActions
-
getRestrainReturnRate
-
setRestrainReturnRate
-
withRestrainReturnRate
-
getPremiseNodeNames
-
setPremiseNodeNames
-
withPremiseNodeNames
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<NodeModel>
-
hashCode
public int hashCode() -
equals
-