org.jboss.shrinkwrap.descriptor.api.orm21.MapKey Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.orm21;
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.OrmMapKeyCommType;
/**
* This interface defines the contract for the map-key
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface MapKey extends Child,
OrmMapKeyCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKey ElementName: xsd:string ElementType : name
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name
attribute
* @param name the value for the attribute name
* @return the current instance of MapKey
*/
public MapKey name(String name);
/**
* Returns the name
attribute
* @return the value defined for the attribute name
*/
public String getName();
/**
* Removes the name
attribute
* @return the current instance of MapKey
*/
public MapKey removeName();
}