BEA Systems, Inc.

com.beasys.commerce.foundation.property
Class SchemaImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.EntityImpl
        |
        +--com.beasys.commerce.foundation.property.SchemaImpl

public class SchemaImpl
extends EntityImpl

has a hidden field in db called schemaID that is also generated by a sequencer

 Primary Key = com.beasys.commerce.foundation.property.SchemaPk
 

See Also:
Schema, SchemaHome, SchemaValue, Serialized Form

Field Summary
 java.lang.String description
           Containment: By Value Multiplicity: 1:1
 SmartMapReference propertyMetaData
           Containment: By Value Multiplicity: 0:N Interface: java.util.Map
 java.lang.String schemaGroupName
           Containment: By Value Multiplicity: 1:1 PRIMARY KEY FIELD
 long schemaId
           Containment: By Value Multiplicity: 1:1
 java.lang.String scopeName
           Containment: By Value Multiplicity: 1:1 PRIMARY KEY FIELD
 
Fields inherited from class com.beasys.commerce.foundation.EntityImpl
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _isDirty
 
Constructor Summary
SchemaImpl()
           
 
Method Summary
 void clearPropertyMetaData()
          Removes all mappings from this map (optional operation).
 boolean containsKeyPropertyMetaData(java.lang.Object key)
          Returns true if this map contains a mapping for the specified key.
 boolean containsValuePropertyMetaData(PropertyMetaData element)
          Returns true if this map maps one or more keys to the specified value.
 void ejbActivate()
          ejbActivate method.
 SchemaPk ejbCreate(SchemaPk schemaPk)
           
 java.util.Enumeration ejbFindAll()
           
 SchemaPk ejbFindByPrimaryKey(SchemaPk pk)
           
 java.util.Enumeration ejbFindBySchemaGroupName(java.lang.String schemaGroupName)
           
 void ejbLoad()
          ejbLoad method.
 void ejbPassivate()
          ejbPassivate method.
 void ejbPostCreate(SchemaPk schemaPk)
           
 void ejbRemove()
          ejbRemove method.
 void ejbStore()
          ejbStore method.
 java.util.Set entrySetPropertyMetaData()
          Returns a (deep copy) set view of the mappings contained in this map.
 boolean equalsPropertyMetaData(java.lang.Object object)
          Compares the specified object with this map for equality.
 java.util.Map getAllPropertyMetaData()
          Returns a deep copy of the entire collection
 java.lang.String getDescription()
          Get the value of description
 PropertyMetaData getPropertyMetaData(java.lang.Object key)
          Returns the value to which this map maps the specified key.
 SmartMapReference getPropertyMetaDataReference()
          Get the SmartMapReference for propertyMetaData
 SchemaValue getSchemaByValue()
          Get all of Schema's attributes.
 java.lang.String getSchemaGroupName()
           
 long getSchemaId()
          Get the value of schemaId.
 java.lang.String getScopeName()
           
 int hashCodePropertyMetaData()
          Returns the hash code value for this map.
 boolean isEmptyPropertyMetaData()
          Returns true if this map contains no key-value mappings.
 java.util.Iterator iteratorPropertyMetaData()
          Returns a (shallow) iterator for this map
 java.util.Set keySetPropertyMetaData()
          Returns a (deep copy) set view of the keys contained in this map.
 void putAllPropertyMetaData(java.util.Map map)
          Copies all of the mappings from the specified map to this map (optional operation).
 PropertyMetaData putPropertyMetaData(java.lang.Object key, PropertyMetaData element)
          Associates the specified value with the specified key in this map (optional operation).
 PropertyMetaData removePropertyMetaData(java.lang.Object key)
          Removes the mapping for this key from this map if present (optional operation).
 void setAllPropertyMetaData(java.util.Map map)
          Sets the entire collection
 void setDescription(java.lang.String description)
          Set the value of description
 void setEntityContext(javax.ejb.EntityContext ctx)
          setEntityContext method.
 void setPropertyMetaDataReference(SmartMapReference smartMapReference)
          Set the SmartCollectionReference for propertyMetaData
 void setSchemaByValue(SchemaValue value)
          Set all of Schema's attributes to the passed in value.
 void setSchemaGroupName(java.lang.String value)
           
 void setSchemaId(long schemaId)
          Set the value of schemaId.
 void setScopeName(java.lang.String value)
           
 int sizePropertyMetaData()
          Returns the number of key-value mappings in this map.
 void unsetEntityContext()
          unsetEntityContext method.
 java.util.Collection valuesPropertyMetaData()
          Returns a (deep copy) collection view of the values contained in this map.
 
Methods inherited from class com.beasys.commerce.foundation.EntityImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, ejbCreate, ejbFindByPrimaryKey, ejbPostCreate, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getEntityContext, isModified, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schemaGroupName

public java.lang.String schemaGroupName

scopeName

public java.lang.String scopeName

description

public java.lang.String description

propertyMetaData

public SmartMapReference propertyMetaData

schemaId

public long schemaId
Constructor Detail

SchemaImpl

public SchemaImpl()
           throws javax.ejb.CreateException
Method Detail

getSchemaByValue

public SchemaValue getSchemaByValue()
                             throws java.rmi.RemoteException
Get all of Schema's attributes.
Returns:
SchemaValue the Schema value object

setSchemaByValue

public void setSchemaByValue(SchemaValue value)
                      throws java.rmi.RemoteException
Set all of Schema's attributes to the passed in value. Note: Primary key attributes are not set.
Parameters:
SchemaValue - the Schema value object

ejbCreate

public SchemaPk ejbCreate(SchemaPk schemaPk)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException

ejbPostCreate

public void ejbPostCreate(SchemaPk schemaPk)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException

ejbLoad

public void ejbLoad()
             throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbLoad method.
Overrides:
ejbLoad in class EntityImpl

ejbStore

public void ejbStore()
              throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbStore method.
Overrides:
ejbStore in class EntityImpl

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException,
                      javax.ejb.RemoveException
Description copied from class: EntityImpl
ejbRemove method.
Overrides:
ejbRemove in class EntityImpl

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbActivate method.
Overrides:
ejbActivate in class EntityImpl

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbPassivate method.
Overrides:
ejbPassivate in class EntityImpl

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws java.rmi.RemoteException
Description copied from class: EntityImpl
setEntityContext method.
Overrides:
setEntityContext in class EntityImpl

unsetEntityContext

public void unsetEntityContext()
                        throws java.rmi.RemoteException
Description copied from class: EntityImpl
unsetEntityContext method.
Overrides:
unsetEntityContext in class EntityImpl

ejbFindByPrimaryKey

public SchemaPk ejbFindByPrimaryKey(SchemaPk pk)
                             throws javax.ejb.FinderException,
                                    java.rmi.RemoteException

ejbFindAll

public java.util.Enumeration ejbFindAll()
                                 throws javax.ejb.FinderException,
                                        java.rmi.RemoteException
Overrides:
ejbFindAll in class EntityImpl

getSchemaGroupName

public java.lang.String getSchemaGroupName()
                                    throws java.rmi.RemoteException

setSchemaGroupName

public void setSchemaGroupName(java.lang.String value)
                        throws java.rmi.RemoteException

getScopeName

public java.lang.String getScopeName()
                              throws java.rmi.RemoteException

setScopeName

public void setScopeName(java.lang.String value)
                  throws java.rmi.RemoteException

getDescription

public java.lang.String getDescription()
Get the value of description
Returns:
description.

setDescription

public void setDescription(java.lang.String description)
                    throws java.rmi.RemoteException
Set the value of description
Parameters:
description - description to be added

getPropertyMetaDataReference

public SmartMapReference getPropertyMetaDataReference()
Get the SmartMapReference for propertyMetaData

setPropertyMetaDataReference

public void setPropertyMetaDataReference(SmartMapReference smartMapReference)
Set the SmartCollectionReference for propertyMetaData

getAllPropertyMetaData

public java.util.Map getAllPropertyMetaData()
                                     throws java.rmi.RemoteException
Returns a deep copy of the entire collection

setAllPropertyMetaData

public void setAllPropertyMetaData(java.util.Map map)
                            throws java.rmi.RemoteException
Sets the entire collection

iteratorPropertyMetaData

public java.util.Iterator iteratorPropertyMetaData()
                                            throws java.rmi.RemoteException
Returns a (shallow) iterator for this map

clearPropertyMetaData

public void clearPropertyMetaData()
                           throws java.rmi.RemoteException
Removes all mappings from this map (optional operation).

containsKeyPropertyMetaData

public boolean containsKeyPropertyMetaData(java.lang.Object key)
                                    throws java.rmi.RemoteException
Returns true if this map contains a mapping for the specified key.

containsValuePropertyMetaData

public boolean containsValuePropertyMetaData(PropertyMetaData element)
                                      throws java.rmi.RemoteException
Returns true if this map maps one or more keys to the specified value.

entrySetPropertyMetaData

public java.util.Set entrySetPropertyMetaData()
                                       throws java.rmi.RemoteException
Returns a (deep copy) set view of the mappings contained in this map.

equalsPropertyMetaData

public boolean equalsPropertyMetaData(java.lang.Object object)
                               throws java.rmi.RemoteException
Compares the specified object with this map for equality.

getPropertyMetaData

public PropertyMetaData getPropertyMetaData(java.lang.Object key)
                                     throws java.rmi.RemoteException
Returns the value to which this map maps the specified key.

hashCodePropertyMetaData

public int hashCodePropertyMetaData()
                             throws java.rmi.RemoteException
Returns the hash code value for this map.

isEmptyPropertyMetaData

public boolean isEmptyPropertyMetaData()
                                throws java.rmi.RemoteException
Returns true if this map contains no key-value mappings.

keySetPropertyMetaData

public java.util.Set keySetPropertyMetaData()
                                     throws java.rmi.RemoteException
Returns a (deep copy) set view of the keys contained in this map.

putPropertyMetaData

public PropertyMetaData putPropertyMetaData(java.lang.Object key,
                                            PropertyMetaData element)
                                     throws java.rmi.RemoteException
Associates the specified value with the specified key in this map (optional operation).

putAllPropertyMetaData

public void putAllPropertyMetaData(java.util.Map map)
                            throws java.rmi.RemoteException
Copies all of the mappings from the specified map to this map (optional operation).

removePropertyMetaData

public PropertyMetaData removePropertyMetaData(java.lang.Object key)
                                        throws java.rmi.RemoteException
Removes the mapping for this key from this map if present (optional operation).

sizePropertyMetaData

public int sizePropertyMetaData()
                         throws java.rmi.RemoteException
Returns the number of key-value mappings in this map.

valuesPropertyMetaData

public java.util.Collection valuesPropertyMetaData()
                                            throws java.rmi.RemoteException
Returns a (deep copy) collection view of the values contained in this map.

getSchemaId

public long getSchemaId()
Get the value of schemaId.
Returns:
schemaId.

setSchemaId

public void setSchemaId(long schemaId)
                 throws java.rmi.RemoteException
Set the value of schemaId.
Parameters:
schemaId - schemaId to be added.

ejbFindBySchemaGroupName

public java.util.Enumeration ejbFindBySchemaGroupName(java.lang.String schemaGroupName)
                                               throws javax.ejb.FinderException,
                                                      java.rmi.RemoteException

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved