Class AclMemberType.Permission
- java.lang.Object
-
- com.iknowbase.api.contentservices.v1.model.AclMemberType.Permission
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AclMemberType
public static class AclMemberType.Permission extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="all" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="delete" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="modify" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="read" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="protected" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="approver" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="createable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="categorize" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="validity" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AclMemberType.Permission.Validity
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected boolean
_protected
protected boolean
all
protected boolean
approver
protected boolean
categorize
protected boolean
createable
protected boolean
delete
protected boolean
modify
protected boolean
read
protected AclMemberType.Permission.Validity
validity
-
Constructor Summary
Constructors Constructor Description Permission()
Default no-arg constructorPermission(boolean all, boolean delete, boolean modify, boolean read, boolean _protected, boolean approver, boolean createable, boolean categorize, AclMemberType.Permission.Validity validity)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AclMemberType.Permission.Validity
getValidity()
Gets the value of the validity property.boolean
isAll()
Gets the value of the all property.boolean
isApprover()
Gets the value of the approver property.boolean
isCategorize()
Gets the value of the categorize property.boolean
isCreateable()
Gets the value of the createable property.boolean
isDelete()
Gets the value of the delete property.boolean
isModify()
Gets the value of the modify property.boolean
isProtected()
Gets the value of the protected property.boolean
isRead()
Gets the value of the read property.void
setAll(boolean value)
Sets the value of the all property.void
setApprover(boolean value)
Sets the value of the approver property.void
setCategorize(boolean value)
Sets the value of the categorize property.void
setCreateable(boolean value)
Sets the value of the createable property.void
setDelete(boolean value)
Sets the value of the delete property.void
setModify(boolean value)
Sets the value of the modify property.void
setProtected(boolean value)
Sets the value of the protected property.void
setRead(boolean value)
Sets the value of the read property.void
setValidity(AclMemberType.Permission.Validity value)
Sets the value of the validity property.AclMemberType.Permission
withAll(boolean value)
AclMemberType.Permission
withApprover(boolean value)
AclMemberType.Permission
withCategorize(boolean value)
AclMemberType.Permission
withCreateable(boolean value)
AclMemberType.Permission
withDelete(boolean value)
AclMemberType.Permission
withModify(boolean value)
AclMemberType.Permission
withProtected(boolean value)
AclMemberType.Permission
withRead(boolean value)
AclMemberType.Permission
withValidity(AclMemberType.Permission.Validity value)
-
-
-
Field Detail
-
all
protected boolean all
-
delete
protected boolean delete
-
modify
protected boolean modify
-
read
protected boolean read
-
_protected
protected boolean _protected
-
approver
protected boolean approver
-
createable
protected boolean createable
-
categorize
protected boolean categorize
-
validity
protected AclMemberType.Permission.Validity validity
-
-
Constructor Detail
-
Permission
public Permission()
Default no-arg constructor
-
Permission
public Permission(boolean all, boolean delete, boolean modify, boolean read, boolean _protected, boolean approver, boolean createable, boolean categorize, AclMemberType.Permission.Validity validity)
Fully-initialising value constructor
-
-
Method Detail
-
isAll
public boolean isAll()
Gets the value of the all property.
-
setAll
public void setAll(boolean value)
Sets the value of the all property.
-
isDelete
public boolean isDelete()
Gets the value of the delete property.
-
setDelete
public void setDelete(boolean value)
Sets the value of the delete property.
-
isModify
public boolean isModify()
Gets the value of the modify property.
-
setModify
public void setModify(boolean value)
Sets the value of the modify property.
-
isRead
public boolean isRead()
Gets the value of the read property.
-
setRead
public void setRead(boolean value)
Sets the value of the read property.
-
isProtected
public boolean isProtected()
Gets the value of the protected property.
-
setProtected
public void setProtected(boolean value)
Sets the value of the protected property.
-
isApprover
public boolean isApprover()
Gets the value of the approver property.
-
setApprover
public void setApprover(boolean value)
Sets the value of the approver property.
-
isCreateable
public boolean isCreateable()
Gets the value of the createable property.
-
setCreateable
public void setCreateable(boolean value)
Sets the value of the createable property.
-
isCategorize
public boolean isCategorize()
Gets the value of the categorize property.
-
setCategorize
public void setCategorize(boolean value)
Sets the value of the categorize property.
-
getValidity
public AclMemberType.Permission.Validity getValidity()
Gets the value of the validity property.- Returns:
- possible object is
AclMemberType.Permission.Validity
-
setValidity
public void setValidity(AclMemberType.Permission.Validity value)
Sets the value of the validity property.- Parameters:
value
- allowed object isAclMemberType.Permission.Validity
-
withAll
public AclMemberType.Permission withAll(boolean value)
-
withDelete
public AclMemberType.Permission withDelete(boolean value)
-
withModify
public AclMemberType.Permission withModify(boolean value)
-
withRead
public AclMemberType.Permission withRead(boolean value)
-
withProtected
public AclMemberType.Permission withProtected(boolean value)
-
withApprover
public AclMemberType.Permission withApprover(boolean value)
-
withCreateable
public AclMemberType.Permission withCreateable(boolean value)
-
withCategorize
public AclMemberType.Permission withCategorize(boolean value)
-
withValidity
public AclMemberType.Permission withValidity(AclMemberType.Permission.Validity value)
-
-