io.katharsis.jpa.internal.meta.MetaKey Maven / Gradle / Ivy
package io.katharsis.jpa.internal.meta;
import java.util.List;
public interface MetaKey extends MetaTypedElement {
List getElements();
boolean isUnique();
boolean isPrimaryKey();
MetaAttribute getUniqueElement();
/**
* @param idString to conver to
* @return Converts a string to a key
*/
Object fromKeyString(String idString);
/**
* @param id object to convert
* @return Converts a key to a string
*/
String toKeyString(Object id);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy