com.jamasoftware.contour.domain
Interface DomainObjectOrganizationColumnNameOverrider

All Known Implementing Classes:
EventEntry, User

public interface DomainObjectOrganizationColumnNameOverrider

Marker interface for domain objects that use "organization" as their organization id column. Ideally, every class would use the standard "organizationId", but since the addition of this column to ALL tables happened after some tables had already chosen their column name, we provide this interface for compatibility. However, it is the responsibility of the developer writing code against the organization id of domain objects to check for this interface and use the appropriate column name.

See Also:
DomainObjectUtil.getOrganizationIdColumnName(Class), User, EventEntry

Field Summary
static java.lang.String OVERRIDE_ORGANIZATION_COLUMN_NAME
           
 

Field Detail

OVERRIDE_ORGANIZATION_COLUMN_NAME

static final java.lang.String OVERRIDE_ORGANIZATION_COLUMN_NAME
See Also:
Constant Field Values


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.