|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.content.CustomField
public class CustomField
******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed 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. ******************************************************************************* I am a custom field metadata that can be attached to base content in contentbox
Property Summary | ||||
---|---|---|---|---|
Type | Property & Description | Default | Serializable | Required |
any
|
customFieldID
Attributes:
|
|
true
|
false
|
any
|
key
Attributes:
|
|
true
|
false
|
any
|
relatedContent
Attributes:
|
|
true
|
false
|
any
|
value
Attributes:
|
|
true
|
false
|
Method Summary | |
---|---|
any |
GETCUSTOMFIELDID()
get: |
any |
GETKEY()
get: |
any |
GETRELATEDCONTENT()
get: |
any |
GETVALUE()
get: |
boolean |
HASRELATEDCONTENT()
|
CustomField |
SETKEY(any key)
set: |
CustomField |
SETRELATEDCONTENT(any relatedContent)
set: |
CustomField |
SETVALUE(any value)
set: |
any |
getMemento()
Get memento representation |
boolean |
isLoaded()
is loaded? |
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Property Detail |
---|
any customFieldID
generator
- nativefieldtype
- idserializable
- truerequired
- falsedefault
- setter
- falseany key
ormtype
- stringserializable
- truerequired
- falsenotnull
- truelength
- 255default
- any relatedContent
index
- idx_contentCustomFieldsfieldtype
- many-to-oneserializable
- truerequired
- falsenotnull
- falselazy
- truecfc
- contentbox.model.content.BaseContentdefault
- fkcolumn
- FK_contentIDany value
ormtype
- textserializable
- truerequired
- falsenotnull
- truelength
- 8000default
- Method Detail |
---|
public any GETCUSTOMFIELDID()
public any GETKEY()
public any GETRELATEDCONTENT()
public any GETVALUE()
public boolean HASRELATEDCONTENT()
public CustomField SETKEY(any key)
key
public CustomField SETRELATEDCONTENT(any relatedContent)
relatedContent
public CustomField SETVALUE(any value)
value
public any getMemento()
public boolean isLoaded()
|
ContentBox Core API 1.6.0 | ||||
FRAMES |