io.katharsis.jpa.internal.meta.impl.MetaEmbeddableImpl Maven / Gradle / Ivy
package io.katharsis.jpa.internal.meta.impl;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Type;
import java.util.Set;
import io.katharsis.jpa.internal.meta.MetaEmbeddable;
import io.katharsis.jpa.internal.meta.MetaKey;
import io.katharsis.jpa.internal.meta.MetaProjection;
public class MetaEmbeddableImpl extends MetaDataObjectImpl implements MetaEmbeddable {
public MetaEmbeddableImpl(Class> implClass, Type implType, MetaDataObjectImpl superType) {
super(implClass, implType, superType);
}
@Override
protected MetaEmbeddableAttributeImpl newAttributeAttribute(MetaDataObjectImpl metaDataObject,
PropertyDescriptor desc) {
return new MetaEmbeddableAttributeImpl(this, desc);
}
@Override
public MetaKey getPrimaryKey() {
throw new IllegalStateException("not available");
}
@Override
public Set getKeys() {
throw new IllegalStateException("not available");
}
@Override
public MetaProjection asProjection() {
throw new IllegalStateException("not a projection");
}
@Override
public Object fromString(String value) {
throw new UnsupportedOperationException("no yet implemented");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy