org.jboss.shrinkwrap.descriptor.api.orm20.IdClass Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.orm20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmIdClassCommType;
/**
* This interface defines the contract for the id-class
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface IdClass extends Child,
OrmIdClassCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: IdClass ElementName: xsd:string ElementType : class
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the class
attribute
* @param clazz the value for the attribute class
* @return the current instance of IdClass
*/
public IdClass clazz(String clazz);
/**
* Returns the class
attribute
* @return the value defined for the attribute class
*/
public String getClazz();
/**
* Removes the class
attribute
* @return the current instance of IdClass
*/
public IdClass removeClazzAttr();
}