public class BaseResource extends AbstractResource
Modifier and Type | Class and Description |
---|---|
static class |
BaseResource.BaseResourceBuilder |
Modifier | Constructor and Description |
---|---|
protected |
BaseResource() |
protected |
BaseResource(@NonNull String uuid,
@Nullable Date creationTime,
@Nullable Date updateTime,
@Nullable String physicalId,
@Nullable NodeStates state,
@Nullable String toscaNodeType,
@Nullable String toscaNodeName,
@Nullable List<String> requiredBy,
@Nullable Map<String,String> metadata) |
Modifier and Type | Method and Description |
---|---|
static BaseResource.BaseResourceBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@Nullable Map<String,String> |
getMetadata() |
@NonNull List<String> |
getRequiredBy() |
@Nullable NodeStates |
getState() |
@Nullable String |
getToscaNodeName() |
@Nullable String |
getToscaNodeType() |
int |
hashCode() |
void |
setMetadata(@Nullable Map<String,String> metadata) |
void |
setRequiredBy(@NonNull List<String> requiredBy) |
void |
setState(@Nullable NodeStates state) |
void |
setToscaNodeName(@Nullable String toscaNodeName) |
void |
setToscaNodeType(@Nullable String toscaNodeType) |
String |
toString() |
getCreationTime, getPhysicalId, getUpdateTime, getUuid, setCreationTime, setPhysicalId, setUpdateTime, setUuid
protected BaseResource(@NonNull String uuid, @Nullable Date creationTime, @Nullable Date updateTime, @Nullable String physicalId, @Nullable NodeStates state, @Nullable String toscaNodeType, @Nullable String toscaNodeName, @Nullable List<String> requiredBy, @Nullable Map<String,String> metadata)
protected BaseResource()
public static BaseResource.BaseResourceBuilder builder()
public @Nullable NodeStates getState()
public @Nullable String getToscaNodeType()
public @Nullable String getToscaNodeName()
public void setState(@Nullable NodeStates state)
public void setToscaNodeType(@Nullable String toscaNodeType)
public void setToscaNodeName(@Nullable String toscaNodeName)
public boolean equals(Object o)
equals
in class AbstractResource
protected boolean canEqual(Object other)
canEqual
in class AbstractResource
public int hashCode()
hashCode
in class AbstractResource
public String toString()
toString
in class AbstractResource
Copyright © 2015–2023 I.N.F.N.. All rights reserved.