INTERNAL:
if (objectToCompare instanceof MetadataSequenceGenerator) {
MetadataSequenceGenerator generator = (MetadataSequenceGenerator) objectToCompare;
if (!generator.getName().equals(getName())) {
return false;
}
if (generator.getInitialValue() != getInitialValue()) {
return false;
}
if (generator.getAllocationSize() != getAllocationSize()) {
return false;
}
return generator.getSequenceName().equals(getSequenceName());
}
return false;