Blue Mind
Release 1.0

net.bluemind.core.api.custom.props
Class CustomProperty

java.lang.Object
  extended by net.bluemind.core.api.custom.Customization
      extended by net.bluemind.core.api.custom.props.CustomProperty
All Implemented Interfaces:
java.io.Serializable

public class CustomProperty
extends Customization

Blue Mind custom properties.

See Also:
Serialized Form

Constructor Summary
CustomProperty()
          Initialize a new custom property
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDefaultValue()
          Get custom property default value.
 java.lang.String getEntity()
          Get custom property entity.
 int getId()
          Get custom property ID
 java.lang.String getName()
          Get custom property name
 java.lang.String getRequesterId()
          Get custom property requester ID This is plugin ID to which this custom property is related to
 java.lang.Integer getSize()
          Get custom property size
 CustomPropertyType getType()
          Get custom property type
 int hashCode()
           
 void setDefaultValue(java.lang.String defaultValue)
          Set custom property default value.
 void setEntity(java.lang.String entity)
          Set custom property entity.
 void setId(int id)
          Set custom property value
 void setName(java.lang.String name)
          Set custom property name
 void setRequesterId(java.lang.String requesterId)
          Set custom property requester ID.
 void setSize(java.lang.Integer size)
          Set custom property size
 void setType(CustomPropertyType type)
          Set custom property type
 
Methods inherited from class net.bluemind.core.api.custom.Customization
addNameTranslation, getNameTranslation, getTranslations
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomProperty

public CustomProperty()
Initialize a new custom property

Method Detail

getId

public int getId()
Get custom property ID

Returns:
ID

setId

public void setId(int id)
Set custom property value

Parameters:
id - ID

getName

public java.lang.String getName()
Get custom property name

Returns:
name

setName

public void setName(java.lang.String name)
Set custom property name

Parameters:
name - name

getType

public CustomPropertyType getType()
Get custom property type

Returns:
CustomPropertyType

setType

public void setType(CustomPropertyType type)
Set custom property type

Parameters:
type - CustomPropertyType

getSize

public java.lang.Integer getSize()
Get custom property size

Returns:
size

setSize

public void setSize(java.lang.Integer size)
Set custom property size

Parameters:
size - size

getRequesterId

public java.lang.String getRequesterId()
Get custom property requester ID

This is plugin ID to which this custom property is related to

Returns:
requester ID

setRequesterId

public void setRequesterId(java.lang.String requesterId)
Set custom property requester ID.

This is plugin ID to which this custom property is related to

Parameters:
requesterId - resquester ID

getEntity

public java.lang.String getEntity()
Get custom property entity.

This is Blue Mind entity name to which this custom property is related to

Returns:
entity name

setEntity

public void setEntity(java.lang.String entity)
Set custom property entity.

This is Blue Mind entity name to which this custom property is related to

Parameters:
entity - entity name

getDefaultValue

public java.lang.String getDefaultValue()
Get custom property default value.

This is the value assigned to this custom property if value is not defined

Returns:
default value

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Set custom property default value.

This is the value assigned to this custom property if value is not defined

Parameters:
defaultValue -

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Blue Mind
Release 1.0