org.jboss.shrinkwrap.descriptor.api.j2ee14.SecurityRoleRefType 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.j2ee14;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.j2ee.*;
/**
* This interface defines the contract for the security-role-refType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface SecurityRoleRefType extends Child,
JeeSecurityRoleRefCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: SecurityRoleRefType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: SecurityRoleRefType ElementName: xsd:token ElementType : role-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the role-name
element
* @param roleName the value for the element role-name
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType roleName(String roleName);
/**
* Returns the role-name
element
* @return the node defined for the element role-name
*/
public String getRoleName();
/**
* Removes the role-name
element
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType removeRoleName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: SecurityRoleRefType ElementName: xsd:token ElementType : role-link
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the role-link
element
* @param roleLink the value for the element role-link
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType roleLink(String roleLink);
/**
* Returns the role-link
element
* @return the node defined for the element role-link
*/
public String getRoleLink();
/**
* Removes the role-link
element
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType removeRoleLink();
// --------------------------------------------------------------------------------------------------------||
// ClassName: SecurityRoleRefType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of SecurityRoleRefType
*/
public SecurityRoleRefType removeId();
}