net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee
Class SecurityConstraintType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.SecurityConstraintType
All Implemented Interfaces:
Serializable, Cloneable

public class SecurityConstraintType
extends Object
implements Serializable, Cloneable

The security-constraintType is used to associate security constraints with one or more web resource collections Used in: web-app

Java class for security-constraintType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="security-constraintType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="display-name" type="{http://java.sun.com/xml/ns/javaee}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="web-resource-collection" type="{http://java.sun.com/xml/ns/javaee}web-resource-collectionType" maxOccurs="unbounded"/>
         <element name="auth-constraint" type="{http://java.sun.com/xml/ns/javaee}auth-constraintType" minOccurs="0"/>
         <element name="user-data-constraint" type="{http://java.sun.com/xml/ns/javaee}user-data-constraintType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  AuthConstraintType authConstraint
           
protected  DisplayNameType[] displayName
           
protected  String id
           
protected  UserDataConstraintType userDataConstraint
           
protected  WebResourceCollectionType[] webResourceCollection
           
 
Constructor Summary
SecurityConstraintType()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.SecurityConstraintType instance.
SecurityConstraintType(SecurityConstraintType o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.SecurityConstraintType instance by copying a given instance.
 
Method Summary
 SecurityConstraintType clone()
          Creates and returns a copy of this object.
 AuthConstraintType getAuthConstraint()
          Gets the value of the authConstraint property.
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 String getId()
          Gets the value of the id property.
 UserDataConstraintType getUserDataConstraint()
          Gets the value of the userDataConstraint property.
 WebResourceCollectionType[] getWebResourceCollection()
           
 WebResourceCollectionType getWebResourceCollection(int idx)
           
 int getWebResourceCollectionLength()
           
 void setAuthConstraint(AuthConstraintType value)
          Sets the value of the authConstraint property.
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setUserDataConstraint(UserDataConstraintType value)
          Sets the value of the userDataConstraint property.
 WebResourceCollectionType setWebResourceCollection(int idx, WebResourceCollectionType value)
           
 void setWebResourceCollection(WebResourceCollectionType[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayName

protected DisplayNameType[] displayName

webResourceCollection

protected WebResourceCollectionType[] webResourceCollection

authConstraint

protected AuthConstraintType authConstraint

userDataConstraint

protected UserDataConstraintType userDataConstraint

id

protected String id
Constructor Detail

SecurityConstraintType

public SecurityConstraintType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.SecurityConstraintType instance.


SecurityConstraintType

public SecurityConstraintType(SecurityConstraintType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.SecurityConstraintType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDisplayName

public DisplayNameType[] getDisplayName()
Returns:
array of DisplayNameType

getDisplayName

public DisplayNameType getDisplayName(int idx)
Returns:
one of DisplayNameType

getDisplayNameLength

public int getDisplayNameLength()

setDisplayName

public void setDisplayName(DisplayNameType[] values)
Parameters:
values - allowed objects are DisplayNameType

setDisplayName

public DisplayNameType setDisplayName(int idx,
                                      DisplayNameType value)
Parameters:
value - allowed object is DisplayNameType

getWebResourceCollection

public WebResourceCollectionType[] getWebResourceCollection()
Returns:
array of WebResourceCollectionType

getWebResourceCollection

public WebResourceCollectionType getWebResourceCollection(int idx)
Returns:
one of WebResourceCollectionType

getWebResourceCollectionLength

public int getWebResourceCollectionLength()

setWebResourceCollection

public void setWebResourceCollection(WebResourceCollectionType[] values)
Parameters:
values - allowed objects are WebResourceCollectionType

setWebResourceCollection

public WebResourceCollectionType setWebResourceCollection(int idx,
                                                          WebResourceCollectionType value)
Parameters:
value - allowed object is WebResourceCollectionType

getAuthConstraint

public AuthConstraintType getAuthConstraint()
Gets the value of the authConstraint property.

Returns:
possible object is AuthConstraintType

setAuthConstraint

public void setAuthConstraint(AuthConstraintType value)
Sets the value of the authConstraint property.

Parameters:
value - allowed object is AuthConstraintType

getUserDataConstraint

public UserDataConstraintType getUserDataConstraint()
Gets the value of the userDataConstraint property.

Returns:
possible object is UserDataConstraintType

setUserDataConstraint

public void setUserDataConstraint(UserDataConstraintType value)
Sets the value of the userDataConstraint property.

Parameters:
value - allowed object is UserDataConstraintType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

clone

public SecurityConstraintType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.