org.jboss.shrinkwrap.descriptor.api.permissions7.Permission Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.permissions7;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.permissions.*;
/**
* This interface defines the contract for the permission
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface Permission extends Child,
PermissionsPermissionCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Permission ElementName: xsd:token ElementType : class-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the class-name
element
* @param className the value for the element class-name
* @return the current instance of Permission
*/
public Permission className(String className);
/**
* Returns the class-name
element
* @return the node defined for the element class-name
*/
public String getClassName();
/**
* Removes the class-name
element
* @return the current instance of Permission
*/
public Permission removeClassName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Permission ElementName: xsd:token ElementType : name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name
element
* @param name the value for the element name
* @return the current instance of Permission
*/
public Permission name(String name);
/**
* Returns the name
element
* @return the node defined for the element name
*/
public String getName();
/**
* Removes the name
element
* @return the current instance of Permission
*/
public Permission removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Permission ElementName: xsd:token ElementType : actions
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the actions
element
* @param actions the value for the element actions
* @return the current instance of Permission
*/
public Permission actions(String actions);
/**
* Returns the actions
element
* @return the node defined for the element actions
*/
public String getActions();
/**
* Removes the actions
element
* @return the current instance of Permission
*/
public Permission removeActions();
}