public class AccessArtifact
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARTIFACT
Range type: artifact
|
static java.lang.String |
PROCESS
Range type: artifact
|
static java.lang.String |
PROJECT
Range type: project
|
Constructor and Description |
---|
AccessArtifact()
Constructor.
|
AccessArtifact(java.lang.String rID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getMemberID()
Get id of the member who owns the access right.
|
java.lang.String |
getRangeID()
Get id of the scope which owns the artifacts.
|
java.lang.String |
getRangeType()
Get type of the scope which owns the artifacts.
|
boolean |
getRead()
Get the access right for reading.
|
boolean |
getRun()
Get the access right for running.
|
void |
setMemberID(java.lang.String mID)
Set id of the member who owns the access right.
|
void |
setRangeID(java.lang.String id)
Set id of the scope which owns the artifacts.
|
void |
setRangeType(java.lang.String type)
Set type of the scope which owns the artifacts.
|
void |
setRead(boolean b)
Set the access right for reading.
|
void |
setRun(boolean b)
Set the access right for running.
|
public static final java.lang.String PROJECT
public static final java.lang.String PROCESS
public static final java.lang.String ARTIFACT
public AccessArtifact()
AccessArtifact
without parameters.public AccessArtifact(java.lang.String rID)
AccessArtifact
with the specified range.id
- the given rangepublic void setMemberID(java.lang.String mID)
id
- the given member idpublic java.lang.String getMemberID()
public void setRangeID(java.lang.String id)
id
- the given range idpublic java.lang.String getRangeID()
public void setRangeType(java.lang.String type)
id
- the given range type. (PROCESS, PROJECT, ARTIFACT)public java.lang.String getRangeType()
public void setRun(boolean b)
b
- the given boolean valuepublic boolean getRun()
public void setRead(boolean b)
b
- the given boolean valuepublic boolean getRead()
public java.lang.Object clone()
clone
in class java.lang.Object
Copyright ? 2022. All Rights Reserved.