public class RID extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TypeAlias |
static int |
TypeDeleted |
static int |
TypeDomain |
static int |
TypeDomainGroup |
static int |
TypeInvalid |
static int |
TypeUnknown |
static int |
TypeUser |
static int |
TypeWellKnownGroup |
Constructor and Description |
---|
RID()
Default constructor
|
RID(int rid,
int type,
String name)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the object name
|
int |
getRID()
Return the relative id
|
static String |
getTypeAsString(int typ)
Return the id type as a string
|
String |
getTypeString()
Return the type as a string
|
int |
isType()
Return the id type
|
void |
setName(String name)
Set the object name
|
void |
setRID(int id)
Set the relative id
|
void |
setType(int typ)
Set the type
|
String |
toString()
Return the relative id as a string
|
public static final int TypeUser
public static final int TypeDomainGroup
public static final int TypeDomain
public static final int TypeAlias
public static final int TypeWellKnownGroup
public static final int TypeDeleted
public static final int TypeInvalid
public static final int TypeUnknown
public RID()
public RID(int rid, int type, String name)
rid
- inttype
- intname
- Stringpublic final int getRID()
public final int isType()
public final String getTypeString()
public final String getName()
public final void setRID(int id)
id
- intpublic final void setType(int typ)
typ
- intpublic final void setName(String name)
name
- Stringpublic static final String getTypeAsString(int typ)
typ
- intCopyright © 2005–2018 Alfresco Software. All rights reserved.