public class RID
extends java.lang.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,
java.lang.String name)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Return the object name
|
int |
getRID()
Return the relative id
|
static java.lang.String |
getTypeAsString(int typ)
Return the id type as a string
|
java.lang.String |
getTypeString()
Return the type as a string
|
int |
isType()
Return the id type
|
void |
setName(java.lang.String name)
Set the object name
|
void |
setRID(int id)
Set the relative id
|
void |
setType(int typ)
Set the type
|
java.lang.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, java.lang.String name)
rid
- inttype
- intname
- Stringpublic final int getRID()
public final int isType()
public final java.lang.String getTypeString()
public final java.lang.String getName()
public final void setRID(int id)
id
- intpublic final void setType(int typ)
typ
- intpublic final void setName(java.lang.String name)
name
- Stringpublic static final java.lang.String getTypeAsString(int typ)
typ
- intpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.