|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.db.ebean.Model models.entity.layer.Layer
@Entity public class Layer
Class of the layer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class play.db.ebean.Model |
---|
play.db.ebean.Model.Finder<I,T> |
Field Summary | |
---|---|
static play.db.ebean.Model.Finder<java.lang.Long,Layer> |
find
|
Fields inherited from class play.db.ebean.Model |
---|
_ebean_identity, _ebean_intercept |
Constructor Summary | |
---|---|
Layer(java.lang.String name,
java.lang.Long itemsCount,
java.lang.Boolean enabled)
Constructor of class |
Method Summary | |
---|---|
static Layer |
findByTypeName(java.lang.String typeName)
Find layer by substring of TypeName. |
static Layer |
findByTypeNameFull(java.lang.String typeName)
Find layer by TypeName. |
static Layer |
findByTypeNameStyle(java.lang.String typeName,
java.lang.String style)
Find layer by typeName and style. |
java.lang.Boolean |
getEnabled()
|
java.util.List<LayerField> |
getFields()
|
java.lang.Long |
getId()
|
LayerInfo |
getInfo()
|
java.lang.Boolean |
getIsKosmosnimok()
|
java.lang.Long |
getItemsCount()
|
java.lang.String |
getName()
|
LayerInternal |
layerInternal()
|
LayerServer |
layerServer()
|
void |
setEnabled(java.lang.Boolean enabled)
set enabled |
void |
setId(java.lang.Long id)
set layer id. |
void |
setItemsCount(java.lang.Long itemsCount)
set number of objects |
void |
setName(java.lang.String name)
set layer name. |
static Layer |
unique(java.lang.Long id)
Find layer by id. |
static Layer |
uniqueWithServer(java.lang.Long id)
Find layer with information about the server. |
Methods inherited from class play.db.ebean.Model |
---|
_ebean_createCopy, _ebean_get__idGetSet, _ebean_getField, _ebean_getFieldIntercept, _ebean_getFieldNames, _ebean_getIntercept, _ebean_getMarker, _ebean_getni__idGetSet, _ebean_intercept, _ebean_isEmbeddedNewOrDirty, _ebean_newInstance, _ebean_set__idGetSet, _ebean_setEmbeddedLoaded, _ebean_setField, _ebean_setFieldIntercept, _ebean_setni__idGetSet, addPropertyChangeListener, addPropertyChangeListener, delete, delete, deleteManyToManyAssociations, equals, hashCode, refresh, refresh, removePropertyChangeListener, removePropertyChangeListener, save, save, saveManyToManyAssociations, saveManyToManyAssociations, update, update, update, update |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static play.db.ebean.Model.Finder<java.lang.Long,Layer> find
Finder
Constructor Detail |
---|
public Layer(java.lang.String name, java.lang.Long itemsCount, java.lang.Boolean enabled)
name
- layer name.itemsCount
- number of objectsenabled
- if true, the layer is turned on by defaultMethod Detail |
---|
public LayerInfo getInfo()
LayerInfo
public java.lang.Long getId()
public void setId(java.lang.Long id)
id
- layer id.public java.lang.String getName()
public void setName(java.lang.String name)
name
- layer name.public java.lang.Long getItemsCount()
public void setItemsCount(java.lang.Long itemsCount)
itemsCount
- number of objectspublic java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- if true, the layer is turned on by defaultpublic java.util.List<LayerField> getFields()
LayerField
public java.lang.Boolean getIsKosmosnimok()
public LayerServer layerServer()
LayerServer
public LayerInternal layerInternal()
LayerInternal
public static Layer unique(java.lang.Long id)
id
- layer id
public static Layer uniqueWithServer(java.lang.Long id)
id
- layer id
public static Layer findByTypeName(java.lang.String typeName)
typeName
- layer typeName.
public static Layer findByTypeNameFull(java.lang.String typeName)
typeName
- layer typeName.
public static Layer findByTypeNameStyle(java.lang.String typeName, java.lang.String style)
typeName
- layer typeName.style
- layer style.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |