= BeanSort _(enum)_
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Top level object classification.

== API

[source,java]
.BeanSort.java
----
enum BeanSort {
  VIEW_MODEL     // <.>
  ENTITY     // <.>
  MANAGED_BEAN_CONTRIBUTING     // <.>
  MANAGED_BEAN_NOT_CONTRIBUTING     // <.>
  MIXIN     // <.>
  VALUE     // <.>
  COLLECTION     // <.>
  ABSTRACT     // <.>
  VETOED     // <.>
  UNKNOWN
  boolean isManagedBeanContributing()
  boolean isManagedBeanNotContributing()
  boolean isManagedBeanAny()
  boolean isMixin()
  boolean isViewModel()
  boolean isValue()
  boolean isCollection()
  boolean isEntity()
  boolean isAbstract()
  boolean isVetoed()
  boolean isUnknown()
  boolean isToBeIntrospected()
  boolean isWrappingSupported()
}
----

<.> xref:#VIEW_MODEL[VIEW_MODEL]
+
--
Stateful object, with a state that can be marshaled and unmarshaled.
--
<.> xref:#ENTITY[ENTITY]
+
--
Persistable object, associated with a persistence layer/context.
--
<.> xref:#MANAGED_BEAN_CONTRIBUTING[MANAGED_BEAN_CONTRIBUTING]
+
--
Injectable object, associated with a lifecycle context (application-scoped, request-scoped, ...).
--
<.> xref:#MANAGED_BEAN_NOT_CONTRIBUTING[MANAGED_BEAN_NOT_CONTRIBUTING]
+
--
Injectable object, associated with a lifecycle context (application-scoped, request-scoped, ...).
--
<.> xref:#MIXIN[MIXIN]
+
--
Object associated with an 'entity' or 'bean' to act as contributer of domain actions or properties. Might also be stateful similar to VIEW_MODEL.
--
<.> xref:#VALUE[VALUE]
+
--
Immutable, serializable object.
--
<.> xref:#COLLECTION[COLLECTION]
+
--
Container of objects.
--
<.> xref:#ABSTRACT[ABSTRACT]
+
--
A non concrete type, that is a placeholder for a its concrete implementer.
--
<.> xref:#VETOED[VETOED]
+
--
Type must not be added to the meta-model, eg. by means of _Domain#Exclude_ , _Profile_ or xref:refguide:applib:index/annotation/Programmatic.adoc[Programmatic]
--

== Members

[#VIEW_MODEL]
=== VIEW_MODEL

Stateful object, with a state that can be marshaled and unmarshaled.

Includes classes annotated with _@DomainObject_ , when *not* associated with a persistence layer.

see also _#ENTITY_

[#ENTITY]
=== ENTITY

Persistable object, associated with a persistence layer/context.

Includes classes annotated with _@DomainObject_ , when associated with a persistence layer.

see also _#VIEW_MODEL_

[#MANAGED_BEAN_CONTRIBUTING]
=== MANAGED_BEAN_CONTRIBUTING

Injectable object, associated with a lifecycle context (application-scoped, request-scoped, ...).

to be introspected: YES

[#MANAGED_BEAN_NOT_CONTRIBUTING]
=== MANAGED_BEAN_NOT_CONTRIBUTING

Injectable object, associated with a lifecycle context (application-scoped, request-scoped, ...).

to be introspected: NO

[#MIXIN]
=== MIXIN

Object associated with an 'entity' or 'bean' to act as contributer of domain actions or properties. Might also be stateful similar to VIEW_MODEL.

[#VALUE]
=== VALUE

Immutable, serializable object.

[#COLLECTION]
=== COLLECTION

Container of objects.

[#ABSTRACT]
=== ABSTRACT

A non concrete type, that is a placeholder for a its concrete implementer.

[#VETOED]
=== VETOED

Type must not be added to the meta-model, eg. by means of _Domain#Exclude_ , _Profile_ or xref:refguide:applib:index/annotation/Programmatic.adoc[Programmatic]
