Class RemoteClassMetadataLight
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.metadata.RemoteClassMetadataLight
-
- All Implemented Interfaces:
Serializable
,Comparable<RemoteClassMetadataLight>
- Direct Known Subclasses:
RemoteClassMetadata
public class RemoteClassMetadataLight extends Object implements Serializable, Comparable<RemoteClassMetadataLight>
Same as ClassInfo, but lighter, since it's intended to provide the information to render a node in a view (usually a tree) at client side.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
_abstract
protected String
className
protected int
color
protected Boolean
custom
protected String
displayName
protected long
id
protected Boolean
inDesign
protected Boolean
listType
protected String
parentClassName
protected byte[]
smallIcon
16x16 iconprotected Boolean
viewable
-
Constructor Summary
Constructors Constructor Description RemoteClassMetadataLight()
Mandatory parameter-less constructorRemoteClassMetadataLight(long id, String className, String displayName, boolean viewable, boolean _abstract, boolean custom, boolean inDesign, String parentClassName, boolean listType, byte[] smallIcon, int color)
RemoteClassMetadataLight(ClassMetadataLight myClassLight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(RemoteClassMetadataLight o)
boolean
equals(Object obj)
String
getClassName()
int
getColor()
String
getDisplayName()
long
getId()
String
getParentClassName()
byte[]
getSmallIcon()
int
hashCode()
Boolean
isAbstract()
Boolean
isCustom()
Boolean
isInDesign()
Boolean
isListType()
Boolean
isViewable()
void
setAbstract(Boolean _abstract)
void
setClassName(String className)
void
setColor(int color)
void
setCustom(Boolean custom)
void
setDisplayName(String displayName)
void
setId(long id)
void
setInDesign(Boolean inDesign)
void
setListType(Boolean listType)
void
setParentClassName(String parentClassName)
void
setSmallIcon(byte[] smallIcon)
void
setViewable(Boolean viewable)
String
toString()
-
-
-
Field Detail
-
id
protected long id
-
_abstract
protected Boolean _abstract
-
viewable
protected Boolean viewable
-
custom
protected Boolean custom
-
inDesign
protected Boolean inDesign
-
listType
protected Boolean listType
-
className
protected String className
-
displayName
protected String displayName
-
parentClassName
protected String parentClassName
-
color
protected int color
-
smallIcon
protected byte[] smallIcon
16x16 icon
-
-
Constructor Detail
-
RemoteClassMetadataLight
public RemoteClassMetadataLight()
Mandatory parameter-less constructor
-
RemoteClassMetadataLight
public RemoteClassMetadataLight(ClassMetadataLight myClassLight)
-
-
Method Detail
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getId
public long getId()
-
setId
public void setId(long id)
-
getDisplayName
public String getDisplayName()
-
setDisplayName
public void setDisplayName(String displayName)
-
getSmallIcon
public byte[] getSmallIcon()
-
setSmallIcon
public void setSmallIcon(byte[] smallIcon)
-
getParentClassName
public String getParentClassName()
-
setParentClassName
public void setParentClassName(String parentClassName)
-
isAbstract
public Boolean isAbstract()
-
setAbstract
public void setAbstract(Boolean _abstract)
-
isViewable
public Boolean isViewable()
-
setViewable
public void setViewable(Boolean viewable)
-
isCustom
public Boolean isCustom()
-
setCustom
public void setCustom(Boolean custom)
-
isInDesign
public Boolean isInDesign()
-
setInDesign
public void setInDesign(Boolean inDesign)
-
isListType
public Boolean isListType()
-
setListType
public void setListType(Boolean listType)
-
getColor
public int getColor()
-
setColor
public void setColor(int color)
-
compareTo
public int compareTo(RemoteClassMetadataLight o)
- Specified by:
compareTo
in interfaceComparable<RemoteClassMetadataLight>
-
-