@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ObjectType that = (ObjectType) o;
    return Objects.equals(string, that.string) && Objects.equals(declarable, that.declarable);
  }
Sets the value of the declarable property.

allowed object is {@link DeclarableType }

@param value the declarable type.
geode-core/src/main/java/org/apache/geode/cache/configuration/ObjectType.java