- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
Property.BuilderBase.PropertyImpl
Entity property.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forProperty
.static class
Property.BuilderBase<BUILDER extends Property.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Property> Fluent API builder base forProperty
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Property.Builder
builder()
Create a new fluent API builder to customize configuration.static Property.Builder
Create a new fluent API builder from an existing instance.static Property
create()
Create a new instance with default values.static Property
create
(CharSequence namePart) Create entity property from single name element.static Property
create
(CharSequence[] nameParts) Create entity property from an array of name elements.default CharSequence
name()
Property name.List
of property name elements.toString()
Property name.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
create
Create entity property from single name element.- Parameters:
namePart
- the name element- Returns:
- new instance of entity property
-
create
Create entity property from an array of name elements.- Parameters:
nameParts
- the name elements- Returns:
- new instance of entity property
-
toString
String toString()Property name. Builds newString
from stored property name elements. -
nameParts
List<CharSequence> nameParts()List
of property name elements. Property name consists of individual elements separated by'.'
character, e.g.person.name
.- Returns:
List
of property name elements
-
name
Property name. Builds newCharSequence
from stored property name elements.- Returns:
- the property name
-