public class TypeDescriptor extends AbstractIdentifiable
Type
.Type
,
TypeService
,
Serialized FormConstructor and Description |
---|
TypeDescriptor(String id,
String name,
String description,
boolean contextType,
boolean folderType,
boolean fileType)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Gets the description of the type.
|
String |
getName()
Gets the display name of the type.
|
int |
hashCode() |
boolean |
isContextType()
Indicates whether the type is a context container type.
|
boolean |
isFileType()
Indicates whether the type is a file type.
|
boolean |
isFolderType()
Indicate whether the type is a folder type.
|
String |
toString() |
getId, getTypeId
public TypeDescriptor(String id, String name, String description, boolean contextType, boolean folderType, boolean fileType)
id
- the unique identifier of the type.name
- the display name of the type.description
- the description of the type.contextType
- indicates whether the type is a context.folderType
- indicates whether the the is a folder.fileType
- indicates whether the type is a file.public String getName()
public String getDescription()
public boolean isContextType()
True
if the type is a context container type, False
otherwise.public boolean isFolderType()
True
if the type is a folder type, False
otherwise.public boolean isFileType()
True
if thes type is a file type, False
otherwise.public int hashCode()
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA