net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200
Class SecurityConstraintType

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

public class SecurityConstraintType
extends Object
implements Serializable, Cloneable

The security-constraintType is used to associate intended security constraints with one or more portlets. Used in: portlet-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/portlet/portlet-app_2_0.xsd}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="portlet-collection" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-collectionType"/>
         <element name="user-data-constraint" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}user-data-constraintType"/>
       </sequence>
       <attribute name="id" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  DisplayNameType[] displayName
           
protected  String id
           
protected  PortletCollectionType portletCollection
           
protected  UserDataConstraintType userDataConstraint
           
 
Constructor Summary
SecurityConstraintType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.SecurityConstraintType instance.
SecurityConstraintType(SecurityConstraintType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.SecurityConstraintType instance by copying a given instance.
 
Method Summary
 SecurityConstraintType clone()
          Creates and returns a copy of this object.
protected  void copyDisplayName(DisplayNameType[] source)
          Copies all values of property DisplayName.
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 String getId()
          Gets the value of the id property.
 PortletCollectionType getPortletCollection()
          Gets the value of the portletCollection property.
 UserDataConstraintType getUserDataConstraint()
          Gets the value of the userDataConstraint property.
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setPortletCollection(PortletCollectionType value)
          Sets the value of the portletCollection property.
 void setUserDataConstraint(UserDataConstraintType value)
          Sets the value of the userDataConstraint property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayName

protected DisplayNameType[] displayName

portletCollection

protected PortletCollectionType portletCollection

userDataConstraint

protected UserDataConstraintType userDataConstraint

id

protected String id
Constructor Detail

SecurityConstraintType

public SecurityConstraintType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.SecurityConstraintType instance.


SecurityConstraintType

public SecurityConstraintType(SecurityConstraintType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.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

getPortletCollection

public PortletCollectionType getPortletCollection()
Gets the value of the portletCollection property.

Returns:
possible object is PortletCollectionType

setPortletCollection

public void setPortletCollection(PortletCollectionType value)
Sets the value of the portletCollection property.

Parameters:
value - allowed object is PortletCollectionType

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

copyDisplayName

protected void copyDisplayName(DisplayNameType[] source)
Copies all values of property DisplayName.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

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.