Class AclMemberType
- java.lang.Object
-
- com.iknowbase.api.contentservices.v1.model.AclMemberType
-
- All Implemented Interfaces:
Serializable
public class AclMemberType extends Object implements Serializable
Java class for aclMemberType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="aclMemberType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="userReference" type="{http://www.iknowbase.com/ws/iknowbase-1}userReferenceType"/> <element name="groupReference" type="{http://www.iknowbase.com/ws/iknowbase-1}objectReferenceType"/> </choice> <element name="permission"> <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> </element> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AclMemberType.Permission
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ObjectReferenceType
groupReference
protected AclMemberType.Permission
permission
protected UserReferenceType
userReference
-
Constructor Summary
Constructors Constructor Description AclMemberType()
Default no-arg constructorAclMemberType(UserReferenceType userReference, ObjectReferenceType groupReference, AclMemberType.Permission permission)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectReferenceType
getGroupReference()
Gets the value of the groupReference property.AclMemberType.Permission
getPermission()
Gets the value of the permission property.UserReferenceType
getUserReference()
Gets the value of the userReference property.void
setGroupReference(ObjectReferenceType value)
Sets the value of the groupReference property.void
setPermission(AclMemberType.Permission value)
Sets the value of the permission property.void
setUserReference(UserReferenceType value)
Sets the value of the userReference property.AclMemberType
withGroupReference(ObjectReferenceType value)
AclMemberType
withPermission(AclMemberType.Permission value)
AclMemberType
withUserReference(UserReferenceType value)
-
-
-
Field Detail
-
userReference
protected UserReferenceType userReference
-
groupReference
protected ObjectReferenceType groupReference
-
permission
protected AclMemberType.Permission permission
-
-
Constructor Detail
-
AclMemberType
public AclMemberType()
Default no-arg constructor
-
AclMemberType
public AclMemberType(UserReferenceType userReference, ObjectReferenceType groupReference, AclMemberType.Permission permission)
Fully-initialising value constructor
-
-
Method Detail
-
getUserReference
public UserReferenceType getUserReference()
Gets the value of the userReference property.- Returns:
- possible object is
UserReferenceType
-
setUserReference
public void setUserReference(UserReferenceType value)
Sets the value of the userReference property.- Parameters:
value
- allowed object isUserReferenceType
-
getGroupReference
public ObjectReferenceType getGroupReference()
Gets the value of the groupReference property.- Returns:
- possible object is
ObjectReferenceType
-
setGroupReference
public void setGroupReference(ObjectReferenceType value)
Sets the value of the groupReference property.- Parameters:
value
- allowed object isObjectReferenceType
-
getPermission
public AclMemberType.Permission getPermission()
Gets the value of the permission property.- Returns:
- possible object is
AclMemberType.Permission
-
setPermission
public void setPermission(AclMemberType.Permission value)
Sets the value of the permission property.- Parameters:
value
- allowed object isAclMemberType.Permission
-
withUserReference
public AclMemberType withUserReference(UserReferenceType value)
-
withGroupReference
public AclMemberType withGroupReference(ObjectReferenceType value)
-
withPermission
public AclMemberType withPermission(AclMemberType.Permission value)
-
-