hydra.ext.org.apache.tinkerpop.features.EdgePropertyFeatures Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hydra-ext Show documentation
Show all versions of hydra-ext Show documentation
Hydra language extensions in Java; models, coders, and utilities
// Note: this is an automatically generated file. Do not edit.
package hydra.ext.org.apache.tinkerpop.features;
import java.io.Serializable;
/**
* Features that are related to Edge Property objects.
*/
public class EdgePropertyFeatures implements Serializable {
public static final hydra.core.Name TYPE_NAME = new hydra.core.Name("hydra/ext/org/apache/tinkerpop/features.EdgePropertyFeatures");
public static final hydra.core.Name FIELD_NAME_PROPERTY_FEATURES = new hydra.core.Name("propertyFeatures");
public final hydra.ext.org.apache.tinkerpop.features.PropertyFeatures propertyFeatures;
public EdgePropertyFeatures (hydra.ext.org.apache.tinkerpop.features.PropertyFeatures propertyFeatures) {
java.util.Objects.requireNonNull((propertyFeatures));
this.propertyFeatures = propertyFeatures;
}
@Override
public boolean equals(Object other) {
if (!(other instanceof EdgePropertyFeatures)) {
return false;
}
EdgePropertyFeatures o = (EdgePropertyFeatures) (other);
return propertyFeatures.equals(o.propertyFeatures);
}
@Override
public int hashCode() {
return 2 * propertyFeatures.hashCode();
}
}